Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] merge: allow "-" as a short-hand for "previous branch"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:00

Michael J Gruber [off-list ref] writes:
... In principle it makes
sense everywhere where a branch name makes sense, e.g.:

git branch -D foo
#...can't delete the current branch
git checkout whatever
git branch -D -

In this case, shell history is faster, of course.
Yeah, and "branch -[dD]" is truly destructive, so...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help