Code

git-reset.txt: point to git-checkout
[git.git] / Documentation / git-reset.txt
index 6c94f83dad8295ec25f7ccc1521a4ab4af292eae..78f3b74fa4d8b2ea1c461c1d8faf3241a531c54c 100644 (file)
@@ -26,6 +26,13 @@ in all forms.
 +
 This means that `git reset <paths>` is the opposite of `git add
 <paths>`.
++
+After running `git reset <paths>` to update the index entry, you can
+use linkgit:git-checkout[1] to check the contents out of the index to
+the working tree.
+Alternatively, using linkgit:git-checkout[1] and specifying a commit, you
+can copy the contents of a path out of a commit to the index and to the
+working tree in one go.
 
 'git reset' --patch|-p [<commit>] [--] [<paths>...]::
        Interactively select hunks in the difference between the index