Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Help with cloning project

Hi, I had a bit of trouble in one of the stages of "Build a Simple Ruby on Rails App" so I deleted the app and thought I would just pull down the latest version from github. However when i do the

git clone  git@github.com:john_doe/Treebook.git 

command, it doesn't work? Any ideas?

1 Answer

Get the URL of the repository you're trying to get. So the command would be git clone [url], and if you want to put it into a directory named something other than what it's called in the repository, try git clone [url] [directory_name].