How to list files in specific revision in `git`?
I want to know file list开发者_如何转开发 in specific revision in git repository. How can I do this?
git ls-tree -r --name-only $REV
for example
git ls-tree -r --name-only a27689bf7f46dc0735c5b3b6076010c87224063e
See dannyp's answer.
git ls-tree -r --name-only $REV
精彩评论