git ls-files
Table of Contents
git ls-files
reference
List untracked files howto
git ls-files . --exclude-standard --others
# | +-- untracked
# +-- exclude files decalred in .gitignore, etc.
List ignored files howto
- ignored, cached files (
--cached
is default)
git ls-files . --exclude-standard --ignored
# | +-- show only those matched by an exclude pattern
# +-- exclude files decalred in .gitignore, etc.
- ignored, untracked files