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 trialDee Greene
8,508 PointsExtra Credit Questions
What are some good git resources to find the answers to the extra credit questions?
2 Answers
bobgoblin
6,967 PointsStart with either the man (help) pages for the command you want to know more about. In this case, type git branch --help or git branch -h. Or, start with your favorite search engine. While the man pages for some command line programs may be less than desireable, Git's man pages are really good. When they fail, search online using at least two different search engines (I like Duck Duck Go but that's just my preference). If the man pages and your favorite search engines fail you, try any appropriate forum (this, StackOverflow, GitHub, etc.).
Adding the --help or -h flag to any *NIX command will bring up the man pages for that command.
James Pask
13,600 PointsThe documentation on the Git site itself is quite good. https://git-scm.com/docs/git-branch
At least it shows you which branch a particular commit is on (which is one of the questions).