I want to know file list in specific revision in git repository. How can I do this?
git diff --name-only master - To list ALL changed files on current branch, comparing to master branch.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With