浏览代码

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 年之前
父节点
当前提交
d774bbea94
共有 1 个文件被更改,包括 4 次插入0 次删除
  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:
 - Show ignored and untracked files:
 
 
 `git ls-files --others`
 `git ls-files --others`
+
+- Show untracked files, not ignored:
+
+`git ls-files --others --exclude-standard`