What is the scenario for a commit with 3 or more parents
- From
Bradley Wagner <bradley.wagner@hannonhill.com>
- Date
- Jul 29, 2010, 02:05 UTC
- Message-ID
- <AANLkTikMRa_LrD2fU9Piv3GW2H0r7Jf_9s5iM0wc9t6s@mail.gmail.com>
I was reading over the Specifying Revisions section in the man entry gitrevisions. I understand having 2 parent commits with a merge.
I was trying to understand the HEAD^2 style syntax and wondering where HEAD^3 would be used. From the example diagram, this would be Commit B but I'm unclear how this would ever happen. Is this some kind of multi-way merge?
Does git log show the parents in their ordinal order in the "Merge:" line?