Re: [PATCH] teach the new "@{-1} syntax to "git branch"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 14, 2009 at 2:08 AM, Junio C Hamano <gitster@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux