summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-09 19:54:04 -0700
committerJunio C Hamano <gitster@pobox.com>2019-07-09 19:54:04 -0700
commitc9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db (patch)
tree06ddfc72dff8e370e395a3acc692c8ab48147227 /git-commit.html
parentd0a9940c76b71c9df840a098a423d3400779d83c (diff)
downloadgit-htmldocs-c9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db.tar.gz
Autogenerated HTML docs for v2.22.0-428-g6d5b2
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-commit.html b/git-commit.html
index 676cab516..314877ff4 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -1433,7 +1433,7 @@ ISO 8601
your working tree are temporarily stored to a staging area
called the "index" with <em>git add</em>. A file can be
reverted back, only in the index but not in the working tree,
-to that of the last commit with <code>git reset HEAD -- &lt;file&gt;</code>,
+to that of the last commit with <code>git restore --staged &lt;file&gt;</code>,
which effectively reverts <em>git add</em> and prevents the changes to
this file from participating in the next commit. After building
the state to be committed incrementally with these commands,
@@ -1665,7 +1665,7 @@ information.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2019-02-06 23:17:45 PST
+ 2019-07-09 19:51:04 PDT
</div>
</div>
</body>