Git development
 help / color / mirror / Atom feed
From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: "Yoann Hervé" <yoann.herve.ext@makina-corpus.com>
Cc: git@vger.kernel.org
Subject: Re: Delete branch start with "-"
Date: Thu, 9 Apr 2009 15:12:10 +0200	[thread overview]
Message-ID: <20090409131210.GE4413@atjola.homenet> (raw)
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

      reply	other threads:[~2009-04-09 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 12:28 Delete branch start with "-" Yoann Hervé
2009-04-09 13:12 ` Björn Steinbrink [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090409131210.GE4413@atjola.homenet \
    --to=b.steinbrink@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=yoann.herve.ext@makina-corpus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox