From: "Konstantin Khomoutov" <kos...@bswap.ru>
You understand the man page correcly but are you sure HEAD^1 and HEAD^2
is really what you want? To cite the manual page:
| A suffix ^ to a revision parameter means the first parent of that
| commit object. ^<n> means the <n>th parent.
=====
As an aside: I commonly get confused by the "Parent" notation. I tend to
think of the parentage numbers as being ancestry counts, so that it would
be:- parent, grand parent, great grandparent.
However that's not what it (^) means, rather it's more father, mother, step
father, stepmother, etc. So for me seeing ^3 always felt like it should be
great grand parent. Such was my confusion.
The ancestry / generation count use the '~' (tilde) as its symbol.
Good counting everyone.
--
Philip
--
You received this message because you are subscribed to the Google Groups "Git for
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.