9

Need to List all the files avaialble in a given remote GIT repository and branch?

Please help with commands..

1 Answers1

7

If you want to list all files for a specific branch, e.g. master:

git ls-tree -r master --name-only
Saurabh Mistry
  • 11,077
  • 4
  • 41
  • 64