From: Sven Strickroth <sven.strickroth@tu-clausthal•de>
To: git@vger•kernel.org
Cc: Jeff King <peff@peff•net>
Subject: Re: howto handle name clashes
Date: Sat, 24 Mar 2012 01:19:59 +0100 [thread overview]
Message-ID: <4F6D132F.6020504@tu-clausthal.de> (raw)
In-Reply-To: <20120323171219.GB12881@sigill.intra.peff.net>
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
next prev parent reply other threads:[~2012-03-24 0:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-23 13:06 howto handle name clashes Sven Strickroth
2012-03-23 17:12 ` Jeff King
2012-03-23 17:43 ` Sven Strickroth
2012-03-23 18:29 ` Jeff King
2012-03-24 0:19 ` Sven Strickroth [this message]
2012-03-23 18:25 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F6D132F.6020504@tu-clausthal.de \
--to=sven.strickroth@tu-clausthal$(echo .)de \
--cc=git@vger$(echo .)kernel.org \
--cc=peff@peff$(echo .)net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox