summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2011-05-17 06:43:34 +0000
committerJunio C Hamano <junio@kernel.org>2011-05-17 06:43:34 +0000
commit3d050d664ae8d18bd81b2a9283134954e98024a5 (patch)
tree162295d648f1c3f73bda2548922ab7c21e5ad634 /git-commit.html
parent5397bf085b22da968a5595e44db425de58f163ef (diff)
downloadgit-htmldocs-3d050d664ae8d18bd81b2a9283134954e98024a5.tar.gz
Autogenerated HTML docs for v1.7.5.1-339-gb602ed
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html33
1 files changed, 24 insertions, 9 deletions
diff --git a/git-commit.html b/git-commit.html
index 9f790110e..e44f20528 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -415,11 +415,12 @@ git-commit(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="verseblock-content"><em>git commit</em> [-a | --interactive] [-s] [-v] [-u&lt;mode&gt;] [--amend] [--dry-run]
- [(-c | -C | --fixup | --squash) &lt;commit&gt;] [-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;]
- [--status | --no-status] [-i | -o] [--] [&lt;file&gt;&#8230;]</div>
+<div class="verseblock-content"><em>git commit</em> [-a | --interactive | --patch] [-s] [-v] [-u&lt;mode&gt;] [--amend]
+ [--dry-run] [(-c | -C | --fixup | --squash) &lt;commit&gt;]
+ [-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;] [--status | --no-status]
+ [-i | -o] [--] [&lt;file&gt;&#8230;]</div>
<div class="verseblock-attribution">
</div></div>
</div>
@@ -461,9 +462,10 @@ by using the -a switch with the <em>commit</em> command to automatically
</li>
<li>
<p>
-by using the --interactive switch with the <em>commit</em> command to decide one
- by one which files should be part of the commit, before finalizing the
- operation. Currently, this is done by invoking <em>git add --interactive</em>.
+by using the --interactive or --patch switches with the <em>commit</em> command
+ to decide one by one which files or hunks should be part of the commit,
+ before finalizing the operation. See the <tt>`Interactive Mode</tt>` section of
+ <a href="git-add.html">git-add(1)</a> to learn how to operate these modes.
</p>
</li>
</ol></div>
@@ -490,6 +492,19 @@ that, you can recover from it with <em>git reset</em>.</p></div>
</p>
</dd>
<dt class="hdlist1">
+-p
+</dt>
+<dt class="hdlist1">
+--patch
+</dt>
+<dd>
+<p>
+ Use the interactive patch selection interface to chose
+ which changes to commit. See <a href="git-add.html">git-add(1)</a> for
+ details.
+</p>
+</dd>
+<dt class="hdlist1">
-C &lt;commit&gt;
</dt>
<dt class="hdlist1">
@@ -1119,7 +1134,7 @@ information.</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2011-03-15 23:30:13 UTC
+Last updated 2011-05-17 06:42:42 UTC
</div>
</div>
</body>