From: Junio C Hamano Date: Wed, 6 May 2009 17:48:26 +0000 (-0700) Subject: git-clean doc: the command only affects paths under $(cwd) X-Git-Tag: v1.6.3~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6a260f53ad685a51ecf6cd875f44cb2c056d1d18;p=git.git git-clean doc: the command only affects paths under $(cwd) Fredrik Skolmli and Thomas Rast noticed that it was left unstated that "git clean" ran from a subdirectory will not affect anything outside it, with or without path limiters. Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt index 43b2de7db..be894af39 100644 --- a/Documentation/git-clean.txt +++ b/Documentation/git-clean.txt @@ -13,8 +13,8 @@ SYNOPSIS DESCRIPTION ----------- -This allows cleaning the working tree by removing files that are not -under version control. +Cleans the working tree by recursively removing files that are not +under version control, starting from the current directory. Normally, only files unknown to git are removed, but if the '-x' option is specified, ignored files are also removed. This can, for