author | Junio C Hamano <junkio@cox.net> | |
Wed, 15 Nov 2006 18:54:10 +0000 (10:54 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 15 Nov 2006 20:01:44 +0000 (12:01 -0800) | ||
commit | bf7e1472df65c948581e2fecd494eccfaa40b9d9 | |
tree | f3cdde9ca4a5a0c4f30c6b0fc6ef6542f3349723 | tree | snapshot |
parent | 897643cc79cb8c05694c98a4fb0560c78952db3e | commit | diff |
git-checkout: allow pathspec to recover lost working tree directory
It is often wanted on the #git channel that this were to work to
recover removed directory:
rm -fr Documentation
git checkout -- Documentation
git checkout HEAD -- Documentation ;# alternatively
Now it does.
Signed-off-by: Junio C Hamano <junkio@cox.net>
It is often wanted on the #git channel that this were to work to
recover removed directory:
rm -fr Documentation
git checkout -- Documentation
git checkout HEAD -- Documentation ;# alternatively
Now it does.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-checkout.sh | diff | blob | history |