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 to GitHub Test

Push our local master branch up to the origin repository (GitHub) quiz ?: how do you use the file name in this command

I have tried everything in between these: git push master "origin" git push -u master origin

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Andrea Mullins! You are super close. We're pushing our master branch to origin. In the code you've tried before, things are just a bit out of order. First we say where we're going to push, which is origin then we say the branch we're pushing.

git push origin master

The destination comes before the branch we're pushing.

Hope this helps! :sparkles:

thank you!