git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: revert committed and pushed tag

From
HKHinko Kocevar <hinko.kocevar@cetrtapot.si>
Date
Feb 5, 2009, 08:02 UTC
Message-ID
<498A9D19.7070902@cetrtapot.si>
In-Reply-To
<706b4240902031417p1a98f3fdtb2240ea5ae5b31a5@mail.gmail.com>
Matt Pearson wrote:
Show 15 quoted lines
> 2009/2/3 Hinko Kocevar <hinko.kocevar@cetrtapot.si>:
>> Hi,
>>
>> Is there a way to 'revert' committed and pushed tag?
>> I've noticed that some files were not included in the commit (new files)
>> and I would like to squeeze them in before the tag was
>> created/committed/pushed to the remote server.
> 
> You do it the same way you delete a branch (see git-push(1)):
> git push origin :refs/tags/rc3
> 
> Note that anybody that has fetched from your public repository will
> _not_ have their current 'rc3' tag overwritten with the new version
> without them deleting it first and letting fetch recreate it.
> 
Thank you, that worked just the way I wanted!

Regards, Hinko

-- 
Hinko Kočevar, OSS developer
ČETRTA POT, d.o.o.
Planina 3, 4000 Kranj, SI EU
tel     ++386 (0) 4 280 66 03
e-mail  hinko.kocevar@cetrtapot.si
http    www.cetrtapot.si
Previous: Matt Pearson
Message 3 of 3 in “revert committed and pushed tag”
  1. Hinko KocevarFeb 3, 2009
  2. Matt PearsonFeb 3, 2009
  3. Hinko KocevarFeb 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.