From: "Jun Ma" <sync.jma@gmail.com>
To: "Jun Ma" <sync.jma@gmail.com>, git@vger.kernel.org
Subject: Re: git checkout -b -f v1.5.5.1
Date: Tue, 6 May 2008 00:09:45 +0800 [thread overview]
Message-ID: <dcf6addc0805050909r65966e7bmd342c57443fd8c31@mail.gmail.com> (raw)
In-Reply-To: <20080505155830.GC18443@leksak.fem-net>
On Mon, May 5, 2008 at 11:58 PM, Stephan Beyer <s-beyer@gmx.net> wrote:
> > I just mistaken 'git checkout -b 1.5.5.1 v1.5.5.1' to 'git
> > checkout -b -f v1.5.5.1', and I don't how to delete it ,
>
> Try
> git branch -D -- -f
>
It works, thanks. :)
>
> > PS: Would it be better if we do checking on branch name to avoid this case?
>
> What do you want to check for?
> No leading dashes?
>
I thought it would be better do this job, so we won't get a
malformed(I thought '-f' is) branch name.:)
--
FIXME if it is wrong.
next prev parent reply other threads:[~2008-05-05 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-05 15:48 git checkout -b -f v1.5.5.1 Jun Ma
2008-05-05 15:58 ` Stephan Beyer
2008-05-05 16:09 ` Jun Ma [this message]
2008-05-05 16:03 ` Eric Hanchrow
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=dcf6addc0805050909r65966e7bmd342c57443fd8c31@mail.gmail.com \
--to=sync.jma@gmail.com \
--cc=git@vger.kernel.org \
/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