summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-06 23:20:47 -0800
committerJunio C Hamano <gitster@pobox.com>2019-02-06 23:20:47 -0800
commit23168ef89678fc52e01173bbc7fdaa760f21d02a (patch)
tree8425bac71f938dfce77a3c2928b2c936b03789c9 /git-commit.html
parent2567b326fac6961a6fc6075ad2f22a744252f2f3 (diff)
downloadgit-htmldocs-23168ef89678fc52e01173bbc7fdaa760f21d02a.tar.gz
Autogenerated HTML docs for v2.21.0-rc0
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html20
1 files changed, 12 insertions, 8 deletions
diff --git a/git-commit.html b/git-commit.html
index 94739ca41..676cab516 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -762,20 +762,24 @@ git-commit(1) Manual Page
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<div class="paragraph"><p>Stores the current contents of the index in a new commit along
-with a log message from the user describing the changes.</p></div>
-<div class="paragraph"><p>The content to be added can be specified in several ways:</p></div>
+<div class="paragraph"><p>Create a new commit containing the current contents of the index and
+the given log message describing the changes. The new commit is a
+direct child of HEAD, usually the tip of the current branch, and the
+branch is updated to point to it (unless no branch is associated with
+the working tree, in which case HEAD is "detached" as described in
+<a href="git-checkout.html">git-checkout(1)</a>).</p></div>
+<div class="paragraph"><p>The content to be committed can be specified in several ways:</p></div>
<div class="olist arabic"><ol class="arabic">
<li>
<p>
-by using <em>git add</em> to incrementally "add" changes to the
- index before using the <em>commit</em> command (Note: even modified
- files must be "added");
+by using <a href="git-add.html">git-add(1)</a> to incrementally "add" changes to the
+ index before using the <em>commit</em> command (Note: even modified files
+ must be "added");
</p>
</li>
<li>
<p>
-by using <em>git rm</em> to remove files from the working tree
+by using <a href="git-rm.html">git-rm(1)</a> to remove files from the working tree
and the index, again before using the <em>commit</em> command;
</p>
</li>
@@ -1661,7 +1665,7 @@ information.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2018-01-26 15:11:04 PST
+ 2019-02-06 23:17:45 PST
</div>
</div>
</body>