how to know committed files in git code example
Example 1: git check which files are committed
$ git show --pretty="" --name-only bd61ad98
index.html
javascript/application.js
javascript/ie6.js
Example 2: git check which files are committed
$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js