Browse Source

doc: clarify ignore rules for git ls-files

Explain that `git ls-files --ignored` requires at least one
of the `--exclude*` options to do its job.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Andreas Heiduk 7 years ago committed by Junio C Hamano
parent
commit
47481ff24f
  1. 3
      Documentation/git-ls-files.txt

3
Documentation/git-ls-files.txt

@ -53,7 +53,8 @@ OPTIONS @@ -53,7 +53,8 @@ OPTIONS
Show only ignored files in the output. When showing files in the
index, print only those matched by an exclude pattern. When
showing "other" files, show only those matched by an exclude
pattern.
pattern. Standard ignore rules are not automatically activated,
therefore at least one of the `--exclude*` options is required.

-s::
--stage::

Loading…
Cancel
Save