Re: Cannot delete weirdly named branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/23/2012 08:42 PM, Junio C Hamano wrote:
"abhisekpan@xxxxxxxxx" <abhisekpan@xxxxxxxxx> 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@xxxxxxxxxxxx
http://softwareswirl.blogspot.com/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]