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

General Discussion

i accidently put the wrong username in for github and now keeps saying repository not found

remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Mjackson2787/Treehouse.git/'
treehouse:~/workspace/Treehouse$ git push origin master
Username for 'https://github.com': Mjackson-2787
Password for 'https://Mjackson-2787@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/Mjackson2787/Treehouse.git/' not found
treehouse:~/workspace/Treehouse$ ^C
treehouse:~/workspace/Treehouse$

What can I do to fix this ?

2 Answers

Hey hey, that's correct, the repository is not found in the remote. What that means is that you have the repository locally but it's not on Github (the remote). You don't have a repository called Treehouse on your Github account. It's easy, you just need to a repository on Github before trying to push the changes. Github has a helpful guide here.

Thank you so much I realized where I screwed up and was able to fix it!