summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-10 15:15:09 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-10 15:15:09 -0800
commitb48968522932c1f3142591d9f2a3421833de78af (patch)
tree648febe954b673570a636b2b19ac76b570cb67c2 /git-commit.html
parent59e8824741436987ea088ff1f3c7c82d6fe48fc9 (diff)
downloadgit-htmldocs-b48968522932c1f3142591d9f2a3421833de78af.tar.gz
Autogenerated HTML docs for v2.24.1-485-gad05a
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html40
1 files changed, 32 insertions, 8 deletions
diff --git a/git-commit.html b/git-commit.html
index 3f0ca442e..e98189384 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -754,7 +754,8 @@ git-commit(1) Manual Page
[-F &lt;file&gt; | -m &lt;msg&gt;] [--reset-author] [--allow-empty]
[--allow-empty-message] [--no-verify] [-e] [--author=&lt;author&gt;]
[--date=&lt;date&gt;] [--cleanup=&lt;mode&gt;] [--[no-]status]
- [-i | -o] [-S[&lt;keyid&gt;]] [--] [&lt;file&gt;&#8230;]</pre>
+ [-i | -o] [--pathspec-from-file=&lt;file&gt; [--pathspec-file-nul]]
+ [-S[&lt;keyid&gt;]] [--] [&lt;pathspec&gt;&#8230;]</pre>
<div class="attribution">
</div></div>
</div>
@@ -1236,6 +1237,29 @@ FROM UPSTREAM REBASE" section in <a href="git-rebase.html">git-rebase(1)</a>.)</
</p>
</dd>
<dt class="hdlist1">
+--pathspec-from-file=&lt;file&gt;
+</dt>
+<dd>
+<p>
+ Pathspec is passed in <code>&lt;file&gt;</code> instead of commandline args. If
+ <code>&lt;file&gt;</code> is exactly <code>-</code> then standard input is used. Pathspec
+ elements are separated by LF or CR/LF. Pathspec elements can be
+ quoted as explained for the configuration variable <code>core.quotePath</code>
+ (see <a href="git-config.html">git-config(1)</a>). See also <code>--pathspec-file-nul</code> and
+ global <code>--literal-pathspecs</code>.
+</p>
+</dd>
+<dt class="hdlist1">
+--pathspec-file-nul
+</dt>
+<dd>
+<p>
+ Only meaningful with <code>--pathspec-from-file</code>. Pathspec elements are
+ separated with NUL character and all other characters are taken
+ literally (including newlines and quotes).
+</p>
+</dd>
+<dt class="hdlist1">
-u[&lt;mode&gt;]
</dt>
<dt class="hdlist1">
@@ -1366,16 +1390,16 @@ changes to tracked files.</p></div>
</p>
</dd>
<dt class="hdlist1">
-&lt;file&gt;&#8230;
+&lt;pathspec&gt;&#8230;
</dt>
<dd>
<p>
- When files are given on the command line, the command
- commits the contents of the named files, without
- recording the changes already staged. The contents of
- these files are also staged for the next commit on top
- of what have been staged before.
+ When pathspec is given on the command line, commit the contents of
+ the files that match the pathspec without recording the changes
+ already added to the index. The contents of these files are also
+ staged for the next commit on top of what have been staged before.
</p>
+<div class="paragraph"><p>For more details, see the <em>pathspec</em> entry in <a href="gitglossary.html">gitglossary(7)</a>.</p></div>
</dd>
</dl></div>
</div>
@@ -1668,7 +1692,7 @@ information.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2019-10-08 22:51:03 PDT
+ 2019-12-10 15:12:20 PST
</div>
</div>
</body>