@matheusbsbs / matheus-bagliano / commits / 6a260f53ad
Fork 0

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>

Junio C Hamano committed May 6, 2009 at 10:48 UTC 6a260f53ad685a51ecf6cd875f44cb2c056d1d18
1 file changed +2 -2
Documentation/git-clean.txt
+2 -2
@@ -13,8 +13,8 @@ SYNOPSIS
13 DESCRIPTION
14 -----------
15
16 -This allows cleaning the working tree by removing files that are not
17 -under version control.
16 +Cleans the working tree by recursively removing files that are not
17 +under version control, starting from the current directory.
18
19 Normally, only files unknown to git are removed, but if the '-x'
20 option is specified, ignored files are also removed. This can, for