I have two branches, and I merge branch1 into branch2 without fast forward.
After the merge, I run the 'git show' command, I get a commit message (which is a merge from a file without fast-forward) and no list files that have been changed.
How to get list files modified in merge?
SOLVED:
When in div2 after merging I used the following:
git diff HEAD~
This returned the correct result.
source
share