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, 6 insertions, 6 deletions
diff --git a/git-clean.html b/git-clean.html
index 7fdfbdc21..fb95d958d 100644
--- a/git-clean.html
+++ b/git-clean.html
@@ -749,7 +749,7 @@ git-clean(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<pre class="content"><em>git clean</em> [-d] [-f] [-i] [-n] [-q] [-e &lt;pattern&gt;] [-x | -X] [--] &lt;path&gt;&#8230;</pre>
+<pre class="content"><em>git clean</em> [-d] [-f] [-i] [-n] [-q] [-e &lt;pattern&gt;] [-x | -X] [--] [&lt;pathspec&gt;&#8230;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -762,8 +762,8 @@ under version control, starting from the current directory.</p></div>
<div class="paragraph"><p>Normally, only files unknown to Git are removed, but if the <code>-x</code>
option is specified, ignored files are also removed. This can, for
example, be useful to remove all build products.</p></div>
-<div class="paragraph"><p>If any optional <code>&lt;path&gt;...</code> arguments are given, only those paths
-are affected.</p></div>
+<div class="paragraph"><p>If any optional <code>&lt;pathspec&gt;...</code> arguments are given, only those paths
+that match the pathspec are affected.</p></div>
</div>
</div>
<div class="sect1">
@@ -775,10 +775,10 @@ are affected.</p></div>
</dt>
<dd>
<p>
- Normally, when no &lt;path&gt; is specified, git clean will not
+ Normally, when no &lt;pathspec&gt; is specified, git clean will not
recurse into untracked directories to avoid removing too much.
Specify -d to have it recurse into such directories as well.
- If any paths are specified, -d is irrelevant; all untracked
+ If a &lt;pathspec&gt; is specified, -d is irrelevant; all untracked
files matching the specified paths (with exceptions for nested
git directories mentioned under <code>--force</code>) will be removed.
</p>
@@ -992,7 +992,7 @@ clean.requireForce
<div id="footer">
<div id="footer-text">
Last updated
- 2022-09-14 13:23:11 PDT
+ 2022-10-28 11:53:56 PDT
</div>
</div>
</body>