For most unix commands, you can use -- after to say "hey, everything
after this is certainly NOT an command line switch"

git branch -d -- -branchname


On Thu, Dec 3, 2009 at 6:41 PM, Tekkub <[email protected]> wrote:
> In that case you should be able to remove it by hand, check .git/refs/heads
> in your repo.
>
> On Thu, Dec 3, 2009 at 4:39 PM, kidbrax <[email protected]> wrote:
>>
>> I tried quotes, that didn't work.  And the name was an accident, but
>> believe me, I wont make that mistake again.
>>
>> On Dec 3, 5:32 pm, Tekkub <[email protected]> wrote:
>> > Try quotes... and don't start branch names with a dash in the future...
>> >
>> >
>> >
>> > On Thu, Dec 3, 2009 at 4:26 PM, kidbrax <[email protected]> wrote:
>> > > every time i try to delete it using
>> > > git branch -d -branchname
>> > > it gives me an unknown switch error
>> >
>> > > --
>> >
>> > > You received this message because you are subscribed to the Google
>> > > Groups
>> > > "GitHub" group.
>> > > To post to this group, send email to [email protected].
>> > > To unsubscribe from this group, send email to
>> > >
>> > > [email protected]<github%[email protected]>
>> > > .
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/github?hl=en.
>>
>> --
>>
>> You received this message because you are subscribed to the Google Groups
>> "GitHub" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/github?hl=en.
>>
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "GitHub" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/github?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/github?hl=en.


Reply via email to