I wish I hadn't done this... but I accidentally named a branch "--
tracksolr-1-3" and now can neither delete it with git branch -D nor
check it out with git checkout.  e.g.:

>>git branch -D "--tracksolr-1-3"
error: unknown option `tracksolr-1-3'

>>git checkout --tracksolr-1-3
error: unknown option `tracksolr-1-3'

Neither quotes nor backslash escaping the hyphens in the branch name
seem to do the trick.... I guess I should just rm -rf my repo and
check it out again?  Is that the only thing one can do?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to