Skip to content

Instantly share code, notes, and snippets.

@DQNEO
Last active June 7, 2022 20:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save DQNEO/87f3e8b8eef4a10ee4e4b80f7e8076d1 to your computer and use it in GitHub Desktop.
Save DQNEO/87f3e8b8eef4a10ee4e4b80f7e8076d1 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