Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_revisions [2018/06/04 11:43] – [Ancestral Git revisions/references] rpjdaygit_revisions [2019/03/18 11:45] (current) – [Commits with more than one parent] rpjday
Line 58: Line 58:
 $ git diff v4.16^^ v4.16^ $ git diff v4.16^^ v4.16^
 $ git diff v4.16^ v4.16 $ git diff v4.16^ v4.16
 +</code>
 +
 +===== Commits with more than one parent =====
 +
 +First or second parent:
 +
 +<code>
 +$ git show HEAD^
 +$ git show HEAD^2
 +</code>
 +
 +Getting carried away:
 +
 +<code>
 +$ git show v4.19^2~3^^
 </code> </code>
  • git_revisions.1528112625.txt.gz
  • Last modified: 2018/06/04 11:43
  • by rpjday