Skip to content

Commit 6a260f5

Browse files
committed
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 <[email protected]>
1 parent 8146f19 commit 6a260f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-clean.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ SYNOPSIS
1313
DESCRIPTION
1414
-----------
1515

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.
1818

1919
Normally, only files unknown to git are removed, but if the '-x'
2020
option is specified, ignored files are also removed. This can, for

0 commit comments

Comments
 (0)