summaryrefslogtreecommitdiffstats
path: root/git-revert.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-revert.html
parentd0a9940c76b71c9df840a098a423d3400779d83c (diff)
downloadgit-htmldocs-c9f11c2b3a739e3e249b9e7711bf1ed76ef3c6db.tar.gz
Autogenerated HTML docs for v2.22.0-428-g6d5b2
Diffstat (limited to 'git-revert.html')
-rw-r--r--git-revert.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/git-revert.html b/git-revert.html
index 8018df260..da3c0d84e 100644
--- a/git-revert.html
+++ b/git-revert.html
@@ -769,9 +769,11 @@ effect of some earlier commits (often only a faulty one). If you want to
throw away all uncommitted changes in your working directory, you
should see <a href="git-reset.html">git-reset(1)</a>, particularly the <code>--hard</code> option. If
you want to extract specific files as they were in another commit, you
-should see <a href="git-checkout.html">git-checkout(1)</a>, specifically the <code>git checkout
-&lt;commit&gt; -- &lt;filename&gt;</code> syntax. Take care with these alternatives as
+should see <a href="git-restore.html">git-restore(1)</a>, specifically the <code>--source</code>
+option. Take care with these alternatives as
both will discard uncommitted changes in your working directory.</p></div>
+<div class="paragraph"><p>See "Reset, restore and revert" in <a href="git.html">git(1)</a> for the differences
+between the three commands.</p></div>
</div>
</div>
<div class="sect1">
@@ -1008,7 +1010,7 @@ effect to your index in a row.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2019-05-08 10:15:17 PDT
+ 2019-07-09 19:51:04 PDT
</div>
</div>
</body>