Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 398 Bytes

list-all-files-tracked-by-git.md

File metadata and controls

7 lines (5 loc) · 398 Bytes

List all files tracked by git

Sometimes it's convenient to list all the files tracked in a git repo (for example, when using entr to watch files for changes). Rather than trying to remember which arguments to pipe to find to get the right list of files, git provides a nice concise command:

git ls-files