I am looking for a simple git
command that provides a nicely formatted list of all files that were part of the commit given by a hash (SHA1), with no extraneous
Recently I needed to list all changed files between two commits. So I used this (also *nix specific) command
git show --pretty="format:" --name-only START_COMMIT..END_COMMIT | sort | uniq
Update: Or as Ethan points out below
git diff --name-only START_COMMIT..END_COMMIT
Using --name-status
will also include the change (added, modified, deleted etc) next to each file
git diff --name-status START_COMMIT..END_COMMIT