Re: howto handle name clashes

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

 



Am 23.03.2012 18:12 schrieb Jeff King:
>> - how to drop a remote tag/branch ("git push origin :test" does not
>> work)
>
> Does "git push origin :heads/foo" (or :tags/foo) not work?

well, ":heads/foo" does not work. Imagine I want to drop a remote branch
which is ambiguous (e.g. a tag with same name exists) on the repository:

"git push origin :food"

gives me: "error: dst refspec food matches more than one."

However, deleting the remote tag (:tags/foo) works with your suggestion.

"git push origin :refs/remotes/origin/foo" showed success (and warning
"remote: warning: Allowing deletion of corrupt ref."), but did not work.

-- 
Best regards,
 Sven Strickroth
 ClamAV, a GPL anti-virus toolkit   http://www.clamav.net
 PGP key id F5A9D4C4 @ any key-server
--
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]