]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-revert.txt
doc: promote "git restore"
[thirdparty/git.git] / Documentation / git-revert.txt
index 837707a8fdb1760f224cc777f6b2b833a6b90a79..9aadc36881beae56b11202450947bcf28f94f3f6 100644 (file)
@@ -26,10 +26,13 @@ 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 linkgit:git-reset[1], particularly the `--hard` option.  If
 you want to extract specific files as they were in another commit, you
-should see linkgit:git-checkout[1], specifically the `git checkout
-<commit> -- <filename>` syntax.  Take care with these alternatives as
+should see linkgit:git-restore[1], specifically the `--source`
+option. Take care with these alternatives as
 both will discard uncommitted changes in your working directory.
 
+See "Reset, restore and revert" in linkgit:git[1] for the differences
+between the three commands.
+
 OPTIONS
 -------
 <commit>...::