how to see list of files in a commit git 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 check which files are committed
$ git show --pretty="" --name-only bd61ad98
index.html
javascript/application.js
javascript/ie6.js