After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 682088 - fix branch mishap in gucharmap
fix branch mishap in gucharmap
Status: RESOLVED NOTABUG
Product: sysadmin
Classification: Infrastructure
Component: Git
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2012-08-17 12:01 UTC by Christian Persch
Modified: 2012-08-17 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2012-08-17 12:01:02 UTC
It seems I made a mishap in gucharmap git module. I has a '3.5.1' branch *as well as* a 3.5.1 tag, and I cannot delete the branch:

$ git push origin :3.5.1
error: dst refspec 3.5.1 matches more than one.
error: failed to push some refs to 'ssh://git.gnome.org/git/gucharmap'

So could a sysadmin please remove the 3.5.1 branch (the tag should continue to exist)? Thanks!
Comment 1 Owen Taylor 2012-08-17 14:08:34 UTC
You should be able to do:

 git push origin :refs/heads/3.5.1

The version without refs/heads is just a shorthand. Please reopen if that doesn't work for you.
Comment 2 Christian Persch 2012-08-17 14:18:43 UTC
Thanks, that fixed it.