Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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!