From: Michael Haggerty Date: Mon, 30 Jul 2012 17:22:17 GMT Subject: Re: Cannot delete weirdly named branch Message-ID: <5016C2C9.5050904@alum.mit.edu> In-Reply-To: <7vsjcil3o5.fsf@alter.siamese.dyndns.org> On 07/23/2012 08:42 PM, Junio C Hamano wrote: > "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). The plumbing command "git update-ref -d refs/heads/--tracking" can also be used to delete such a branch. Michael -- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/