开发者

How to list files in specific revision in `git`?

开发者 https://www.devze.com 2023-02-15 00:06 出处:网络
I want to know file list开发者_如何转开发 in specific revision in git repository. How can I do this?git ls-tree -r --name-only $REV

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

精彩评论

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

关注公众号