Review a merge commit - how did the destination branch change?
After merging
feature
into
master
, answer the following questions.
What files did
feature
modify?
Look at the difference between
master
and the first parent of
master
(which in this case is the previous
master
). Those differences will show what files the merge in of
feature
changed.
git checkout master
git diff --name-only head^1..head --diff-filter=M
What files did
feature
delete?
git checkout master
git diff --name-only head^1..head --diff-filter=D