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
I use changed alias a quite often. To set it up:
git config --global alias.changed 'show --pretty="format:" --name-only'
then:
git changed (lists files modified in last commit)
git changed bAda55 (lists files modified in this commit)
git changed bAda55..ff0021 (lists files modified between those commits)
Similar commands that may be useful:
git log --name-status --oneline (very similar, but shows what actually happened M/C/D)
git show --name-only