summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-08-29 04:24:08 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-08-29 04:24:08 +0000
commit1bb3199688345bc83c620de5be66b823ce099ea1 (patch)
tree195b41b1d62130609e6ea0d571b1abb08a38e8cd /git-commit.html
parente367f7b24088cde94c62db8d039db5a776acb85c (diff)
downloadgit-htmldocs-1bb3199688345bc83c620de5be66b823ce099ea1.tar.gz
Autogenerated HTML docs for v1.6.4.1-267-gd1798
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html32
1 files changed, 26 insertions, 6 deletions
diff --git a/git-commit.html b/git-commit.html
index f85fa3d13..32bafb28d 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -321,8 +321,8 @@ git-commit(1) Manual Page
<h2>SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="content"><em>git commit</em> [-a | --interactive] [-s] [-v] [-u&lt;mode&gt;] [--amend]
- [(-c | -C) &lt;commit&gt;] [-F &lt;file&gt; | -m &lt;msg&gt;]
+<div class="content"><em>git commit</em> [-a | --interactive] [-s] [-v] [-u&lt;mode&gt;] [--amend] [--dry-run]
+ [(-c | -C) &lt;commit&gt;] [-F &lt;file&gt; | -m &lt;msg&gt;] [--dry-run]
[--allow-empty] [--no-verify] [-e] [--author=&lt;author&gt;]
[--cleanup=&lt;mode&gt;] [--] [[-i | -o ]&lt;file&gt;&#8230;]</div></div>
</div>
@@ -370,10 +370,9 @@ by using the --interactive switch with the <em>commit</em> command to decide one
</p>
</li>
</ol></div>
-<div class="para"><p>The <em>git-status</em> command can be used to obtain a
+<div class="para"><p>The <tt>--dry-run</tt> option can be used to obtain a
summary of what is included by any of the above for the next
-commit by giving the same set of parameters you would give to
-this command.</p></div>
+commit by giving the same set of parameters (options and paths).</p></div>
<div class="para"><p>If you make a commit and then find a mistake immediately after
that, you can recover from it with <em>git-reset</em>.</p></div>
</div>
@@ -419,6 +418,17 @@ that, you can recover from it with <em>git-reset</em>.</p></div>
</p>
</dd>
<dt>
+--dry-run
+</dt>
+<dd>
+<p>
+ Do not actually make a commit, but show the list of paths
+ with updates in the index, paths with changes in the work tree,
+ and paths that are untracked, similar to the one that is given
+ in the commit log editor.
+</p>
+</dd>
+<dt>
-F &lt;file&gt;
</dt>
<dt>
@@ -650,6 +660,16 @@ specified.</p></div>
</p>
</dd>
<dt>
+--dry-run
+</dt>
+<dd>
+<p>
+ Do not create a commit, but show a list of paths that are
+ to be committed, paths with local changes that will be left
+ uncommitted and paths that are untracked.
+</p>
+</dd>
+<dt>
--
</dt>
<dd>
@@ -868,7 +888,7 @@ Junio C Hamano &lt;gitster@pobox.com&gt;</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-07-01 02:30:45 UTC
+Last updated 2009-08-29 04:23:54 UTC
</div>
</div>
</body>