Skip to content

Commit

Permalink
git-clean doc: the command only affects paths under $(cwd)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed May 6, 2009
1 parent 8146f19 commit 6a260f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/git-clean.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a260f5

Please sign in to comment.