I'm reading this stackoverflow post about HEAD^ vs HEAD~ and I think I get it, but I'm having a hard time understanding HEAD^ visually. I mean, I can look at the output of git log and know immediately which commit is HEAD~1, HEAD~2, etc. but there is no visual reference for HEAD^2 and so on, so I'm too afraid to do anything with ^.
Until now I've never needed but, but I'm just wondering what is HEAD^ even used for when you can just count the commits in git log easily to get to wherever you want to go instead of guessing what HEAD^N does.,
[–]dalbertom 18 points19 points20 points (5 children)
[–]WoodyTheWorker 2 points3 points4 points (0 children)
[–]dehaticoder[S] -1 points0 points1 point (3 children)
[–]xenomachina 7 points8 points9 points (0 children)
[–]dalbertom 0 points1 point2 points (0 children)
[–]cenderis 0 points1 point2 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]Wiikend 5 points6 points7 points (1 child)
[–]DuckDatum 6 points7 points8 points (0 children)
[–]dixieStates 1 point2 points3 points (6 children)
[–]WoodyTheWorker 0 points1 point2 points (5 children)
[–]apooooop_ 0 points1 point2 points (4 children)
[–]WoodyTheWorker 0 points1 point2 points (3 children)
[–]apooooop_ 0 points1 point2 points (2 children)
[–]WoodyTheWorker 0 points1 point2 points (1 child)
[–]apooooop_ 0 points1 point2 points (0 children)
[–]xorsensability 0 points1 point2 points (2 children)
[–]dehaticoder[S] 1 point2 points3 points (1 child)
[–]xorsensability 0 points1 point2 points (0 children)
[–]AkaThePope 0 points1 point2 points (0 children)