aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-05-06 10:48:26 -0700
committerJunio C Hamano <gitster@pobox.com>2009-05-06 10:51:34 -0700
commit6a260f53ad685a51ecf6cd875f44cb2c056d1d18 (patch)
tree7db98876d31db851f10091b50872edd14b696ce0
parent8146f19762c8fd67f6df3da4ba87a4e5ea880909 (diff)
downloadgit-6a260f53ad685a51ecf6cd875f44cb2c056d1d18.tar.gz
git-6a260f53ad685a51ecf6cd875f44cb2c056d1d18.tar.xz
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 <gitster@pobox.com>
-rw-r--r--Documentation/git-clean.txt4
1 files changed, 2 insertions, 2 deletions
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