Reputation: 20366
Conflict filenames are included in auto-generated commit message.
Beside conflict files, if someone makes changes to other files in a merge commit, it is worth noticing the changes to trace why he makes such changes in a merge commit.
If no conflicts, a merge commit should have no real file changes, because each file follows either parent.
What git command line should I type?
I need changed file names only, not diff content.
Upvotes: 1
Views: 167
Reputation: 154846
git show --stat
will display a summary of the file names touched by the merge commit itself.
Upvotes: 1
Reputation: 15540
If you git show
a merge commit, it will show you only that merge commit's changes. Every other change produced by one of the "merged commits" will be shown by git show
ing that commit.
Upvotes: 1