Giustino Borzacchiello

Git Tip: show modified files between two commits


If you need the list of files that were modified between a commit and the latest one you can use git diff with the --name-only parameter:

git diff --name-only 360c150 HEAD

You can use the same command to show the modified files between two commits. Just replace HEAD with a commit hash:

git diff --name-only <commit1> <commit2>