Skip to content

Commit

Permalink
Merge branch 'mm/clean-doc-fix' into maint
Browse files Browse the repository at this point in the history
The documentation for "git clean" has been corrected; it mentioned
that .git/modules/* are removed by giving two "-f", which has never
been the case.

* mm/clean-doc-fix:
  Documentation/git-clean.txt: don't mention deletion of .git/modules/*
  • Loading branch information
Junio C Hamano committed Feb 22, 2016
2 parents 2263a05 + 31e3c2d commit 924459c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Documentation/git-clean.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ OPTIONS
to false, 'git clean' will refuse to delete files or directories
unless given -f, -n or -i. Git will refuse to delete directories
with .git sub directory or file unless a second -f
is given. This affects also git submodules where the storage area
of the removed submodule under .git/modules/ is not removed until
-f is given twice.
is given.

-i::
--interactive::
Expand Down

0 comments on commit 924459c

Please sign in to comment.