git: list all files in a commit
To list all the files tracked a commit, run this:
git ls-tree --full-tree -r <hash>
If you’re only interested in the names:
git ls-tree --full-tree -r --name-only <hash>
To list all the files tracked a commit, run this:
git ls-tree --full-tree -r <hash>
If you’re only interested in the names:
git ls-tree --full-tree -r --name-only <hash>