Last active
June 7, 2022 20:32
-
-
Save DQNEO/87f3e8b8eef4a10ee4e4b80f7e8076d1 to your computer and use it in GitHub Desktop.
How to show diff of a merge commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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