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
Jonathan Davies
9,067 PointsIssue with pushing to GitHub
So, I'm at the stage where I'm 'pushing to github' for the first time.
'git remote add origin'...etc is fine.
But after entering 'git push -u origin master' I press enter twice.
(Not sure if the video is overly clear as to whether I'm meant to try and enter my details here... it won't let me anyway) and I get this error message in the terminal:
fatal: HTTP request failed
Any ideas?
Cheers,
Jonathan
2 Answers
Andrew Martin
17,513 PointsSorry, but I've also been having this problem, getting to the same place and not being able to input a username or password (if indeed we have to.... I also am confused about this) and I get the same error.
It probably has something to do with the fact I'm running the windows cmd prompt, because I have read the guide that James supplied and am none the wiser.... :/
EDIT
Aaaaand I figured out the problem. Thanks anyways. I really think it should have been made clear that whilst the username and password do not appear on the monitor when they are typed into the command prompt, they are still being taken and 'accepted'.
James Barnett
39,199 Points@Jonathan -
I'd suggest you check out the Git Guide for more details about how github works.
After that, let us know if you have any more questions about pushing to github.