From: Jay Soffian Date: Sat, 14 Feb 2009 07:11:41 GMT Subject: Re: [PATCH] teach the new "@{-1} syntax to "git branch" Message-ID: <76718490902132311j5add87bcpb103c951a8192b05@mail.gmail.com> In-Reply-To: <7v4oyxzeay.fsf@gitster.siamese.dyndns.org> On Sat, Feb 14, 2009 at 2:08 AM, Junio C Hamano wrote: > 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. I hope I'm not the person who motivated this new syntax. :-) j.