X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Documentation%2Fgit-clean.txt;h=a81cb6c28050e83778f11f2957d3489f50fa6004;hb=ca5812d2e3c72b09008422975740aff41a2c65a0;hp=be894af39ff6559affbf0617e4c5d8fe68c33fe8;hpb=011c181cc656c8b3e48882729d1b6238e8c5c537;p=git.git diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt index be894af39..a81cb6c28 100644 --- a/Documentation/git-clean.txt +++ b/Documentation/git-clean.txt @@ -27,10 +27,14 @@ OPTIONS ------- -d:: Remove untracked directories in addition to untracked files. + If an untracked directory is managed by a different git + repository, it is not removed by default. Use -f option twice + if you really want to remove such a directory. -f:: - If the git configuration specifies clean.requireForce as true, - 'git-clean' will refuse to run unless given -f or -n. +--force:: + If the git configuration variable clean.requireForce is not set + to false, 'git clean' will refuse to run unless given -f or -n. -n:: --dry-run:: @@ -44,7 +48,7 @@ OPTIONS -x:: Don't use the ignore rules. This allows removing all untracked files, including build products. This can be used (possibly in - conjunction with 'git-reset') to create a pristine + conjunction with 'git reset') to create a pristine working directory to test a clean build. -X::