get all changes on commit name 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: files changed in a commit
git diff --name-only HEAD HEAD~1
Example 3: get all changes on commit name
$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js