]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-clean.txt
Merge branch 'nd/switch-and-restore'
[thirdparty/git.git] / Documentation / git-clean.txt
index 8a31ccffea751cf64a049ce00605ba90def5a067..0028ff12d1dadb2abc7a50816ae6fa5807c82f46 100644 (file)
@@ -55,14 +55,13 @@ OPTIONS
 
 -e <pattern>::
 --exclude=<pattern>::
-       In addition to those found in .gitignore (per directory) and
-       $GIT_DIR/info/exclude, also consider these patterns to be in the
-       set of the ignore rules in effect.
+       Use the given exclude pattern in addition to the standard ignore rules
+       (see linkgit:gitignore[5]).
 
 -x::
-       Don't use the standard ignore rules read from .gitignore (per
-       directory) and $GIT_DIR/info/exclude, but do still use the ignore
-       rules given with `-e` options.  This allows removing all untracked
+       Don't use the standard ignore rules (see linkgit:gitignore[5]), but
+       still use the ignore rules given with `-e` options from the command
+       line.  This allows removing all untracked
        files, including build products.  This can be used (possibly in
        conjunction with 'git restore' or 'git reset') to create a pristine
        working directory to test a clean build.