Search code examples
gitlistfilerevision

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?


Solution

  • See dannyp's answer.

     git ls-tree -r --name-only $REV