问题
I want to know file list in specific revision in git repository. How can I do this?
回答1:
See dannyp's answer.
git ls-tree -r --name-only $REV
回答2:
git ls-tree -r --name-only $REV
for example
git ls-tree -r --name-only a27689bf7f46dc0735c5b3b6076010c87224063e
来源:https://stackoverflow.com/questions/5215193/how-to-list-files-in-specific-revision-in-git