Return to Snippet

Revision: 58011
at August 11, 2012 01:02 by satie83


Updated Code
git show --pretty="format:" --name-only a303aa90779efdd2f6b9d90693e2cbbbe4613c1d

git show --pretty="format:" --name-only a303aa90779efdd2f6b9d90693e2cbbbe4613c1d | grep '\.php$' // If you want to filter the result, only with condition files...

git show --pretty="format:" --name-only  bc54bc02ff9ce087cb49db78011ac64384f47327 ad67f71575010e6645b71c57b56537612b454125 | sort -u // We show all the files of various commits 
without repeated files (sort -u)

Revision: 58010
at July 23, 2012 23:04 by satie83


Updated Code
git show --pretty="format:" --name-only a303aa90779efdd2f6b9d90693e2cbbbe4613c1d

git show --pretty="format:" --name-only a303aa90779efdd2f6b9d90693e2cbbbe4613c1d | grep '\.php$' // If you want to filter the result, only with condition files...

Revision: 58009
at June 21, 2012 02:11 by satie83


Initial Code
git show --pretty="format:" --name-only a303aa90779efdd2f6b9d90693e2cbbbe4613c1d

Initial URL
http://stackoverflow.com/questions/424071/how-do-i-list-all-the-files-for-a-commit-in-git

Initial Description
Hash of the commit which you want to  show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d

Initial Title
GIT - List all the files for a commit (or various commits) in git

Initial Tags
files, git

Initial Language
Bash