changeset, not just the files that contain the change
in <string>.
+--pickaxe-regex::
+ Make the <string> not a plain string but an extended POSIX
+ regex to match.
+
-O<orderfile>::
Output the patch in the order specified in the
<orderfile>, which has one shell glob pattern per line.
<div class="sectionbody">\r
<div class="verseblock">\r
<div class="content"><em>git-commit</em> [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>]\r
- [-e] [--author <author>] [--] [[-i | -o ]<file>…]</div></div>\r
+ [--no-verify] [--amend] [-e] [--author <author>]\r
+ [--] [[-i | -o ]<file>…]</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
+--amend\r
+</dt>\r
+<dd>\r
+<p>\r
+ Used to amend the tip of the current branch. Prepare the tree\r
+ object you would want to replace the latest commit as usual\r
+ (this includes the usual -i/-o and explicit paths), and the\r
+ commit log editor is seeded with the commit message from the\r
+ tip of the current branch. The commit you create replaces the\r
+ current tip — if it was a merge, it will have the parents of\r
+ the current tip as parents — so the current top commit is\r
+ discarded.\r
+</p>\r
+<p>It is a rough equivalent for:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt> $ git reset --soft HEAD^\r
+ $ ... do something else to come up with the right tree ...\r
+ $ git commit -c ORIG_HEAD</tt></pre>\r
+</div></div>\r
+<p>but can be used to amend a merge commit.</p>\r
+</dd>\r
+<dt>\r
-i|--include\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 18-Mar-2006 07:45:35 UTC\r
+Last updated 05-Apr-2006 21:43:17 UTC\r
</div>\r
</div>\r
</body>\r
--------
[verse]
'git-commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>]
- [-e] [--author <author>] [--] [[-i | -o ]<file>...]
+ [--no-verify] [--amend] [-e] [--author <author>]
+ [--] [[-i | -o ]<file>...]
DESCRIPTION
-----------
commit log message unmodified. This option lets you
further edit the message taken from these sources.
+--amend::
+
+ Used to amend the tip of the current branch. Prepare the tree
+ object you would want to replace the latest commit as usual
+ (this includes the usual -i/-o and explicit paths), and the
+ commit log editor is seeded with the commit message from the
+ tip of the current branch. The commit you create replaces the
+ current tip -- if it was a merge, it will have the parents of
+ the current tip as parents -- so the current top commit is
+ discarded.
++
+It is a rough equivalent for:
++
+------------
+ $ git reset --soft HEAD^
+ $ ... do something else to come up with the right tree ...
+ $ git commit -c ORIG_HEAD
+------------
++
+but can be used to amend a merge commit.
+
-i|--include::
Instead of committing only the files specified on the
command line, update them in the index file and then
</p>\r
</dd>\r
<dt>\r
+--pickaxe-regex\r
+</dt>\r
+<dd>\r
+<p>\r
+ Make the <string> not a plain string but an extended POSIX\r
+ regex to match.\r
+</p>\r
+</dd>\r
+<dt>\r
-O<orderfile>\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 10-Feb-2006 05:51:45 UTC\r
+Last updated 05-Apr-2006 21:43:18 UTC\r
</div>\r
</div>\r
</body>\r
</p>\r
</dd>\r
<dt>\r
+--pickaxe-regex\r
+</dt>\r
+<dd>\r
+<p>\r
+ Make the <string> not a plain string but an extended POSIX\r
+ regex to match.\r
+</p>\r
+</dd>\r
+<dt>\r
-O<orderfile>\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 10-Feb-2006 05:51:45 UTC\r
+Last updated 05-Apr-2006 21:43:19 UTC\r
</div>\r
</div>\r
</body>\r
</p>\r
</dd>\r
<dt>\r
+--pickaxe-regex\r
+</dt>\r
+<dd>\r
+<p>\r
+ Make the <string> not a plain string but an extended POSIX\r
+ regex to match.\r
+</p>\r
+</dd>\r
+<dt>\r
-O<orderfile>\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 10-Mar-2006 00:31:24 UTC\r
+Last updated 05-Apr-2006 21:43:19 UTC\r
</div>\r
</div>\r
</body>\r
</p>\r
</dd>\r
<dt>\r
+--pickaxe-regex\r
+</dt>\r
+<dd>\r
+<p>\r
+ Make the <string> not a plain string but an extended POSIX\r
+ regex to match.\r
+</p>\r
+</dd>\r
+<dt>\r
-O<orderfile>\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 10-Feb-2006 05:51:47 UTC\r
+Last updated 05-Apr-2006 21:43:20 UTC\r
</div>\r
</div>\r
</body>\r