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 trialMUZ140191 Prudence Goreraza
9,480 Pointsgit basics
Now that you've cloned that repository, let's say you've done some work on a branch named "awesome_stuff." What command would you run to push that branch up to your remote?
2 Answers
Zahscha Gonzalez
27,775 PointsAfter you have commited the changes to the branch you are using. You can use git push <branch name> or you can switch to the master branch using git checkout <branch name> followed by git merge awesome_stuff this will merge the master branch with the changes you did in your "awesome_stuff" branch. NOTE: make sure you pull from your remote before pushing. To avoid conflicts.
Saul Sylvester
3,997 PointsYou're pushing from the "awesome_stuff" clone branch in to the origin.