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

Re: revert committed and pushed tag

From
MPMatt Pearson <404emailnotfound@gmail.com>
Date
Feb 3, 2009, 22:17 UTC
Message-ID
<706b4240902031417p1a98f3fdtb2240ea5ae5b31a5@mail.gmail.com>
In-Reply-To
<4988586D.603@cetrtapot.si>
2009/2/3 Hinko Kocevar <hinko.kocevar@cetrtapot.si>:
Show 6 quoted lines
> 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.

Matt
Previous: Hinko KocevarNext: Hinko Kocevar
Message 2 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.