git commit show files code example
Example 1: list of files in git commit
$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js
Example 2: git show files modified since commit
git diff --name-only HEAD~10 HEAD~5