A riff on git: show all changed files between two commits: I want a listing of all files that have been changed between two commits, even if they are now the same (ie, changed a
This one is similar to igorw's, but it avoids the removal of the SHA via grep:
grep
git log --pretty='format:' --name-only HEAD^^..HEAD | sort -u
If you additionally want to see how the files were modified, replace --name-only with --name-status.
--name-only
--name-status