Somehow, someone managed to create a tag with a question mark in his name. Now, every time I retrieve, it seems like I don't have a tag and declares it in the output:
$ git fetch origin
From github.com:myrepo
* [new tag] 2011-01-28-rc2? -> 2011-01-28-rc2?
From github.com:myrepo
* [new tag] 2011-01-28-rc2? -> 2011-01-28-rc2?
This is not a copy-paste error - it is displayed twice.
I'm sure this is harmless, but it drives me crazy. I tried the obvious command to remove the tag:
$ git push origin :refs/tags/2011-01-28-rc2?
fatal: remote part of refspec is not a valid name in :refs/tags/2011-01-28-rc2?
Is there some kind of escape sequence that I need to use, or I don’t understand what I see here?
If relevant, this is on github.
source
share