Code

git-checkout: revert specific paths to either index or a given tree-ish.
authorJunio C Hamano <junkio@cox.net>
Tue, 18 Oct 2005 08:29:27 +0000 (01:29 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 18 Oct 2005 08:29:27 +0000 (01:29 -0700)
commit4aaa702794447d9b281dd22fe532fd61e02434e1
treeaa0a562dc1d28c6b4d6bc3f0ece8b96ab74ddb84
parent4bfe1199eabb41eb1f1d67f4ee24df028eb21300
git-checkout: revert specific paths to either index or a given tree-ish.

When extra paths arguments are given, git-checkout reverts only those
paths to either the version recorded in the index or the version
recorded in the given tree-ish.

This has been on the TODO list for quite a while.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-checkout.txt
git-checkout.sh