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 trialSida Feng
Courses Plus Student 672 Pointsclone private repository
So I created a private repository on github. But I am having trouble cloning it to my computer. I 've tried both "clone with SSH" and "clone with HTTPS", and github desktop keeps saying it can't find my repository. And terminal doesn't work either.
1 Answer
Karen Freeman-Smith
29,248 Pointsgit clone https://github.com/yourusername/yourrepository
Just like any other repository. I'm assuming that it's YOUR private repository. This works fine for private repositories I set up last month. One I just set up to test is not working at all. I'm wondering if it's a delay like gh-pages sometimes has before they update?
There are a number of Q&A about cloning private repositories on GitHub, search for "clone private repository" and then select the "issues" link on the right hand side and you can find a lot more discussion on what works and what doesn't.
Karen Freeman-Smith
29,248 PointsKaren Freeman-Smith
29,248 PointsAbout 5-10 minutes later I can clone the new private repository just fine now...