diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-10 15:15:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-10 15:15:09 -0800 |
commit | b48968522932c1f3142591d9f2a3421833de78af (patch) | |
tree | 648febe954b673570a636b2b19ac76b570cb67c2 /git-commit.html | |
parent | 59e8824741436987ea088ff1f3c7c82d6fe48fc9 (diff) | |
download | git-htmldocs-b48968522932c1f3142591d9f2a3421833de78af.tar.gz |
Autogenerated HTML docs for v2.24.1-485-gad05a
Diffstat (limited to 'git-commit.html')
-rw-r--r-- | git-commit.html | 40 |
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 <file> | -m <msg>] [--reset-author] [--allow-empty]
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
[--date=<date>] [--cleanup=<mode>] [--[no-]status]
- [-i | -o] [-S[<keyid>]] [--] [<file>…]</pre>
+ [-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]
+ [-S[<keyid>]] [--] [<pathspec>…]</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=<file>
+</dt>
+<dd>
+<p>
+ Pathspec is passed in <code><file></code> instead of commandline args. If
+ <code><file></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[<mode>]
</dt>
<dt class="hdlist1">
@@ -1366,16 +1390,16 @@ changes to tracked files.</p></div> </p>
</dd>
<dt class="hdlist1">
-<file>…
+<pathspec>…
</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>
|