Re: Cannot delete weirdly named branch

2012-07-30 Thread Junio C Hamano
Michael Haggerty writes: > On 07/23/2012 08:42 PM, Junio C Hamano wrote: >> "abhisek...@gmail.com" writes: >> >>> Now I cannot delete this branch. Running: >>> git branch -d --tracking >>> gives an error: unknown option `tracking' >> >> I do not think this is supposed to work, but it does by acc

Re: Cannot delete weirdly named branch

2012-07-30 Thread Michael Haggerty
On 07/23/2012 08:42 PM, Junio C Hamano wrote: "abhisek...@gmail.com" writes: Now I cannot delete this branch. Running: git branch -d --tracking gives an error: unknown option `tracking' I do not think this is supposed to work, but it does by accident. $ git branch -d -- --tracking

Re: Cannot delete weirdly named branch

2012-07-23 Thread Junio C Hamano
"abhisek...@gmail.com" writes: > Now I cannot delete this branch. Running: > git branch -d --tracking > gives an error: unknown option `tracking' I do not think this is supposed to work, but it does by accident. $ git branch -d -- --tracking Deleted branch --tracking (was 8670e20). A m

Cannot delete weirdly named branch

2012-07-23 Thread abhisek...@gmail.com
Hi, I am a new user to git and I found an interesting behavior in git. I am not sure if this is a bug, but I thought I would report this anyway! So I can create a local branch called "--tracking" like this: git checkout -b --tracking origin/somebranch I messed up the syntax while trying to create