I know this isn\'t strictly a programming question, but it is related to git. I accidentally have created a branch in git called --track (I got the order of opt
--track
I'm using msysgit 1.7.0.2 and the suggested solution doesn't work:
git branch -D -- --track # doesn't work
No error is reported, but the branch still remains. I ended up forcibly removing the branch via:
rm .git/refs/heads/--track