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
Dongju Seo
2,339 PointsI was denied when doing 'git clone'
[Build a Simple Ruby on Rails Application Frontend Development Cloning the Project]
I created a new folder called 'Code' and executed 'git init' I got permission denied when I tried to clone!
c:\Code>git clone git@github.com:geekerati/treebook.git Cloning into 'treebook'... Permission denied (publickey).
What is the soloution? :( fatal: Could not read from remote repository.
2 Answers
James Barnett
39,199 PointsDongju Seo - In the video Jim Hoskins has already setup his git with an SSH key, like Oliver Hough referenced.
However that's the old way of doing things on github, as they now recommend using the https method.
The easy way to clone a repo is to use:
git clone https://github.com/jasonseifer/treebook.git
Oliver Hough
6,153 Pointshave you generated a public key and added it to your profile?