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 trialYI JIANG
3,424 Pointsswitch back to the master branch
that was the wrong git command
git checkout new_feature
2 Answers
andi mitre
Treehouse Guest Teachergit checkout master
Michael Delgado
18,792 PointsThe new_feature is a branch repository that we created from the master. The HEAD or master branch is the original one that you start with. You do need to use "git checkout" but the repository that you need is the "master" not the "new_feature".