From: Björn Steinbrink Date: Thu, 09 Apr 2009 13:12:10 GMT Subject: Re: Delete branch start with "-" Message-ID: <20090409131210.GE4413@atjola.homenet> In-Reply-To: <49DDEA00.9090003@makina-corpus.com> 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