X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-clean.txt;h=60e38e6e275f5cf90a1ccba36dd3930cafa1b630;hb=12644fa99fd16c33379c885670be0963cec07fc1;hp=a81cb6c28050e83778f11f2957d3489f50fa6004;hpb=daaf2e8892cf3b652454c48ffd332e3c5b446b92;p=git.git diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt index a81cb6c28..60e38e6e2 100644 --- a/Documentation/git-clean.txt +++ b/Documentation/git-clean.txt @@ -8,7 +8,7 @@ git-clean - Remove untracked files from the working tree SYNOPSIS -------- [verse] -'git clean' [-d] [-f] [-n] [-q] [-x | -X] [--] ... +'git clean' [-d] [-f] [-n] [-q] [-e ] [-x | -X] [--] ... DESCRIPTION ----------- @@ -45,6 +45,12 @@ OPTIONS Be quiet, only report errors, but not the files that are successfully removed. +-e :: +--exclude=:: + Specify special exceptions to not be cleaned. Each is + the same form as in $GIT_DIR/info/excludes and this option can be + given multiple times. + -x:: Don't use the ignore rules. This allows removing all untracked files, including build products. This can be used (possibly in