summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-04-12 08:23:17 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-04-12 08:23:17 +0000
commite79159d5498ad2b14be1b372eab269a78cfc3443 (patch)
tree2c4676854d865f5dfed2224e28db1b7ca169ac90 /git-commit.html
parentdcc6495c1f9fcf63dde4f602c75ded45145a7237 (diff)
downloadgit-htmldocs-e79159d5498ad2b14be1b372eab269a78cfc3443.tar.gz
Autogenerated HTML docs for v1.5.5-40-g4cdda
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/git-commit.html b/git-commit.html
index 5e7e4aaf0..0b1c56969 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -481,6 +481,22 @@ that, you can recover from it with <a href="git-reset.html">git-reset(1)</a>.</p
</p>
</dd>
<dt>
+-o|--only
+</dt>
+<dd>
+<p>
+ Make a commit only from the paths specified on the
+ command line, disregarding any contents that have been
+ staged so far. This is the default mode of operation of
+ <em>git commit</em> if any paths are given on the command line,
+ in which case this option can be omitted.
+ If this option is specified together with <em>--amend</em>, then
+ no paths need be specified, which can be used to amend
+ the last commit without committing changes that have
+ already been staged.
+</p>
+</dd>
+<dt>
-u|--untracked-files
</dt>
<dd>
@@ -730,7 +746,7 @@ Junio C Hamano &lt;junkio@cox.net&gt;</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 17-Feb-2008 03:50:04 UTC
+Last updated 12-Apr-2008 08:22:49 UTC
</div>
</div>
</body>