From: Junio C Hamano Date: Fri, 08 Apr 2011 18:43:38 GMT Subject: Re: [PATCH] merge: allow "-" as a short-hand for "previous branch" Message-ID: <7vipuo4m91.fsf@alter.siamese.dyndns.org> In-Reply-To: <4D9ED5AC.3050106@drmicha.warpmail.net> Michael J Gruber 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...