aboutsummaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-13 23:08:05 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-13 23:46:28 -0800
commit8415d5c7ef63237f6efab0c9aef0b0fdbcbfda25 (patch)
tree08a6b8c58706bc47b78a29c73c91d5e8390fa7d4 /entry.c
parent5cd12b85fe8ff74f202a158511ead34e8aba584c (diff)
downloadgit-8415d5c7ef63237f6efab0c9aef0b0fdbcbfda25.tar.gz
git-8415d5c7ef63237f6efab0c9aef0b0fdbcbfda25.tar.xz
Teach the "@{-1} syntax to "git branch"
This teaches the new "@{-1} syntax to refer to the previous branch to "git branch". After looking at somebody's faulty patch series on a topic branch too long, if you decide it is not worth merging, you can just say: $ git checkout master $ git branch -D @{-1} to get rid of it without having to type the name of the topic you now hate so much for wasting a lot of your time. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'entry.c')
0 files changed, 0 insertions, 0 deletions