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 trialBen Os
20,008 PointsGit question - Does HEAD equals HEAD~0?
Git question - Does HEAD equals HEAD~0?
I would bet it is because HEAD~1 is the one allegedly after HEAD~0.
1 Answer
Tommy Morgan
Treehouse Guest TeacherYep! That's correct. Of course, this is a bit of esoteric trivia, as in most circumstances the only difference you get by using HEAD~0 instead of HEAD is that you had to type two extra characters to get there :)
Ben Os
20,008 PointsBen Os
20,008 PointsTommy Morgan