Browse Source

Add command to git ls-files (#7833)

Taken from https://fix.code-error.com/git-list-only-untracked-files-also-custom-commands/
Peder Bergebakken Sundt 3 years ago
parent
commit
d774bbea94
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/git-ls-files.md

+ 4 - 0
pages/common/git-ls-files.md

@@ -14,3 +14,7 @@
 - Show ignored and untracked files:
 
 `git ls-files --others`
+
+- Show untracked files, not ignored:
+
+`git ls-files --others --exclude-standard`