Re: git checkout -b -f v1.5.5.1

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

 



On Mon, May 5, 2008 at 11:58 PM, Stephan Beyer <s-beyer@xxxxxxx> 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.
--
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