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

Push our local master branch up to the origin repository (GitHub)?

I've entered "git push -u master origin" but it gives the "Bummer..." response. I've also tried it without the -u and get the same result

4 Answers

Did you commit all your changes? So first you add files, then commit, and finally you push.

I should have specified that this was in a quiz, not in actual practice. Thanks for the reminder though!

Dale Severude
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 Points

Did you do a git remote add command so that your local branch knows how to communicate with Git?

git remote add origin https://github.com/user/repo.git

Drop the "-u"

> git push origin master