Open z33ky opened 8 years ago
HEAD~n (or more generally <rev>~n) refers to the n-th generation ancestor (see git help gitrevision).
HEAD~n
<rev>~n
git help gitrevision
Also <rev>^n, for accessing the different parents of a merge commit (and combinations <rev>^2~3 would be nice to have as well).
<rev>^n
<rev>^2~3
HEAD~n
(or more generally<rev>~n
) refers to the n-th generation ancestor (seegit help gitrevision
).