text: Q:
  
  List of files committed as part of merge from master in git
  
  I'm working on a branch and recently I did a merge from master.
  I want to know which files were modified as part of that commit? Any handy commands in GIT?
  I do have the commit hash and when I'm trying to do 
  git diff-tree --no-commit-id --name-only -r f313111ecdbd9e8292ef1db51ea31d47c9a93202 it's returning nothing/
  Thanks.
  
  A:
  
  First retrieve the SHA1 values of your last two commits using the following command:
  git log -n 2
  
  The top commit would be the merge commit, and second would be the commit before the merge commit. Then run the following command:   
  git diff --name-only <SHA1 value of merge commit> <SHA1 value of previous commit>
  
  