diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-08-29 04:24:08 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-08-29 04:24:08 +0000 |
commit | 1bb3199688345bc83c620de5be66b823ce099ea1 (patch) | |
tree | 195b41b1d62130609e6ea0d571b1abb08a38e8cd /git-commit.html | |
parent | e367f7b24088cde94c62db8d039db5a776acb85c (diff) | |
download | git-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.html | 32 |
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<mode>] [--amend]
- [(-c | -C) <commit>] [-F <file> | -m <msg>]
+<div class="content"><em>git commit</em> [-a | --interactive] [-s] [-v] [-u<mode>] [--amend] [--dry-run]
+ [(-c | -C) <commit>] [-F <file> | -m <msg>] [--dry-run]
[--allow-empty] [--no-verify] [-e] [--author=<author>]
[--cleanup=<mode>] [--] [[-i | -o ]<file>…]</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 <file>
</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 <gitster@pobox.com></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>
|