git ls-files . --exclude-standard --ignored # | +-- show only those matched by an exclude pattern # +-- exclude files decalred in .gitignore, etc.