Файлы изменены в коммите
git diff --name-only HEAD HEAD~1
Combative Caribou
git diff --name-only HEAD HEAD~1
$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js
$ git show --pretty="" --name-only bd61ad98
index.html
javascript/application.js
javascript/ie6.js
git ls-tree --name-only -r <commit-ish>