]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-revert.txt
Merge branch 'jk/check-connected-with-alternates'
[thirdparty/git.git] / Documentation / git-revert.txt
index 665e065ee378f64df9ff61ea1805de5e5f72a72a..9d22270757c9b5d402f680a3f5933989678cb6f0 100644 (file)
@@ -24,10 +24,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>...::