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

JavaScript Building a MEAN Application Introduction to the MEAN Stack Setting Up an Express Application

Can't clone the repo for this course

I'm trying to follow along but get the following when I try to clone the repo:

āžœ  public git clone git@github.com:treehouse/angular-basics.git .
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

2 Answers

Ken Howard
Ken Howard
Treehouse Guest Teacher

Huston uses the SSH method of cloning a repository. This allows you to clone the repo without entering a username and password.

You could try cloning the repository using HTTPS instead which will ask you for your GitHub username and password.

git clone https://github.com/treehouse/angular-basics.git .
Radha Bhambwani
Radha Bhambwani
10,182 Points

It did not ask me for my username and password when I did this...

Tobi Sam
Tobi Sam
438 Points

Thanks @Ken that worked :)

git clone https://github.com/treehouse/angular-basics.git .