Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save byronaltice/e7a1f8efc857439b26edbbf155dc0563 to your computer and use it in GitHub Desktop.
Save byronaltice/e7a1f8efc857439b26edbbf155dc0563 to your computer and use it in GitHub Desktop.
How to show diff of a merge commit
$ git diff abcdef^ abcdef
or
$ git show --first-parent abcdef
or
$ git show -m abcdef
http://stackoverflow.com/questions/40986518/git-show-of-a-merge-commit?answertab=votes#tab-top
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment