[git-users] uh... accidentally named a branch very poorly

2009-08-10 Thread pharkle
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 opti

[git-users] Re: uh... accidentally named a branch very poorly

2009-08-10 Thread pharkle
Did the trick... thanks Dave Alex On Aug 10, 4:15 pm, Dave Smith wrote: > try: > git branch -D -- --tracksolr-1-3 > > those extra -- tell git to stop checking for options > > Dave Smith > > 2009/8/10 pharkle > > > > > I wish I hadn't do

[git-users] Re: uh... accidentally named a branch very poorly

2009-08-10 Thread pharkle
Did the trick... thanks Dave Alex On Aug 10, 4:15 pm, Dave Smith wrote: > try: > git branch -D -- --tracksolr-1-3 > > those extra -- tell git to stop checking for options > > Dave Smith > > 2009/8/10 pharkle > > > > > I wish I hadn't do