Re: Cannot delete weirdly named branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 23, 2012, 18:42 UTC
- Message-ID
- <7vsjcil3o5.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAGhmpEGEZchXc4DqZ21BAKxf6_mHRp=TOUH8s=GG0vPscz1kfg@mail.gmail.com>
"abhisekpan@gmail.com" <abhisekpan@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 more recent git would not let you create such a branch to begin with. Perhaps time to upgrade?