Skip to content
Eric Bouchut edited this page Mar 11, 2015 · 68 revisions

Log

List files in the repository

###List files in the repository for the current branch

git ls-files  

#  git ls-files -r HEAD --name-only   # a more verbose alternative

List files in the repository for a given branch

List the files in the repository for the branch my_branch.

#  git ls-files -r my_branch --name-only 

Source: http://superuser.com/a/429694/67956

Clone this wiki locally