Re: Delete branch start with "-"

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

 



On 2009.04.09 14:28:48 +0200, Yoann Hervé wrote:
> Hello,
> by mistake I have created a branch with a "-" at the beginning of his  
> name, and now I can't delete it.
>
> git branch -d -f
>
> error: unknown switch `s'

Uhm, that error message doesn't fit the command... Anyway, use -- to
separate the branch name from the options:

git branch -d -- -f

Björn
--
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]