summaryrefslogtreecommitdiffstats
path: root/git-clean.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-clean.html')
-rw-r--r--git-clean.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/git-clean.html b/git-clean.html
index 0e947da77..bfb630935 100644
--- a/git-clean.html
+++ b/git-clean.html
@@ -793,7 +793,7 @@ that match the pathspec are affected.</p></div>
<p>
If the Git configuration variable clean.requireForce is not set
to false, <em>git clean</em> will refuse to delete files or directories
- unless given -f or -i. Git will refuse to modify untracked
+ unless given -f. Git will refuse to modify untracked
nested git repositories (directories with a .git subdirectory)
unless a second -f is given.
</p>
@@ -808,6 +808,8 @@ that match the pathspec are affected.</p></div>
<p>
Show what would be done and clean files interactively. See
&#8220;Interactive mode&#8221; for details.
+ Configuration variable <code>clean.requireForce</code> is ignored, as
+ this mode gives its own safety protection by going interactive.
</p>
</dd>
<dt class="hdlist1">
@@ -819,6 +821,8 @@ that match the pathspec are affected.</p></div>
<dd>
<p>
Don&#8217;t actually remove anything, just show what would be done.
+ Configuration variable <code>clean.requireForce</code> is ignored, as
+ nothing will be deleted anyway.
</p>
</dd>
<dt class="hdlist1">
@@ -968,8 +972,8 @@ clean.requireForce
</dt>
<dd>
<p>
- A boolean to make git-clean do nothing unless given -f,
- -i, or -n. Defaults to true.
+ A boolean to make git-clean refuse to delete files unless -f
+ is given. Defaults to true.
</p>
</dd>
</dl></div>
@@ -992,7 +996,7 @@ clean.requireForce
<div id="footer">
<div id="footer-text">
Last updated
- 2023-10-23 14:43:46 PDT
+ 2024-03-14 14:21:27 PDT
</div>
</div>
</body>