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

Development Tools GitHub Basics Working By Yourself Push Your Project to GitHub

Loren Robinson
Loren Robinson
1,952 Points

After I do git push origin master, I enter my password. I get error authentication failed for treehouse git etc

After I do git push origin master, I enter my username it works, then I enter my github password. I get error authentication failed for github/myusername/treehouse git etc. I checked my password and its working when I log into Github. But its not working in command line and I am getting that error. How do I solve this issue.

2 Answers

Doris Keller
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Doris Keller
Front End Web Development Techdegree Graduate 47,927 Points

Did you try to copy/paste your password Loren Robinson ? Sometimes it's a simple typo.

If that doesn't help, could you copy everything you tried here, including the error, from the command line?

Loren Robinson
Loren Robinson
1,952 Points

I did the below and its not working.

workspace/Treehouse$ workspace/Treehouse$ git push origin master Username for 'https://github.com': I enter my github username (it works) Password for https://username@github.com ( I enter my password) fatal: Authentication failed for https github etc I receive above error message.