开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜