How to “git show” the diffs for a merge commit?
Use one of the following: git show -m c05f017 git show –first-parent c05f017 git diff c05f017^ c05f017 There’s a fundamental error in your question: commits are not diffs; commits are snapshots. This might seem like a distinction without a difference—and for some commits, it is. But for merge commits, it’s not. When git show (or … Read more