We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 113bc16 + bcd57cb commit 4b23b5dCopy full SHA for 4b23b5d
Documentation/git-clean.txt
@@ -34,8 +34,12 @@ OPTIONS
34
-f::
35
--force::
36
If the Git configuration variable clean.requireForce is not set
37
- to false, 'git clean' will refuse to run unless given -f, -n or
38
- -i.
+ to false, 'git clean' will refuse to delete files or directories
+ unless given -f, -n or -i. Git will refuse to delete directories
39
+ with .git sub directory or file unless a second -f
40
+ is given. This affects also git submodules where the storage area
41
+ of the removed submodule under .git/modules/ is not removed until
42
+ -f is given twice.
43
44
-i::
45
--interactive::
0 commit comments