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

git push origin master not working

Following the "Push your project to Github" when I type in git push origin master command nothing happens.

Workflow doesn't ask for any username or password.

I am also having this issue. It is seeming to stall after the git push command w/out asking for username & pw

2 Answers

After some Google-ing, I found that using the command "git remote set-url origin https://github.com/username/reponame" before "git push origin master" solved the problem for me.

Thank you! It also solved it for me.

Abinet Kenore
Abinet Kenore
10,082 Points

The link which she gave is not working/ it may be outdated. I am getting 404 error.

thanks Jason Overby that solved it for me too. :)