11

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

Please help with commands..

1 Answers1

9

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

git ls-tree -r master --name-only
Saurabh Mistry
  • 12,833
  • 5
  • 50
  • 71