author | Thomas Rast <trast@student.ethz.ch> | |
Sat, 17 Jan 2009 16:09:56 +0000 (17:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 18 Jan 2009 02:37:21 +0000 (18:37 -0800) | ||
commit | 696acf45f9638b014c7132508de26d1a571c8a33 | |
tree | ceeb225371a2f12017cdfe4dce350b626d34a6b0 | tree | snapshot |
parent | d18ba22154574390dbff2c060f44b9715477e95a | commit | diff |
checkout: implement "-" abbreviation, add docs and tests
Have '-' mean the same as '@{-1}', i.e., the last branch we were on.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Have '-' mean the same as '@{-1}', i.e., the last branch we were on.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt | diff | blob | history | |
builtin-checkout.c | diff | blob | history | |
t/t2012-checkout-last.sh | [new file with mode: 0755] | blob |