{"thread":{"id":"17529","subject":"revert committed and pushed tag","startedAt":"2009-02-03T14:45:01Z","lastAt":"2009-02-05T08:02:33Z","messageCount":3,"participants":["Hinko Kocevar","Matt Pearson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"102968","messageId":"4988586D.603@cetrtapot.si","threadId":"17529","inReplyTo":null,"subject":"revert committed and pushed tag","fromName":"Hinko Kocevar","fromEmail":"hinko.kocevar@cetrtapot.si","sentAt":"2009-02-03T14:45:01Z","receivedAt":"2009-02-03T14:45:01Z","isPatch":false,"sender":{"key":"hinko.kocevar@cetrtapot.si","avatar":null},"body":"Hi,\n\nIs there a way to 'revert' committed and pushed tag?\nI've noticed that some files were not included in the commit (new files)\nand I would like to squeeze them in before the tag was\ncreated/committed/pushed to the remote server.\n\nI did:\n$ git add ..files..\n$ git commit\n$ git push\n$ git tag rc3\n$ git push --tags\n\nThank you,\nHinko\n-- \nHinko Kočevar, OSS developer\nČETRTA POT, d.o.o.\nPlanina 3, 4000 Kranj, SI EU\ntel     ++386 (0) 4 280 66 03\ne-mail  hinko.kocevar@cetrtapot.si\nhttp    www.cetrtapot.si\n"},{"id":"103028","messageId":"706b4240902031417p1a98f3fdtb2240ea5ae5b31a5@mail.gmail.com","threadId":"17529","inReplyTo":"4988586D.603@cetrtapot.si","subject":"Re: revert committed and pushed tag","fromName":"Matt Pearson","fromEmail":"404emailnotfound@gmail.com","sentAt":"2009-02-03T22:17:25Z","receivedAt":"2009-02-03T22:17:25Z","isPatch":false,"sender":{"key":"404emailnotfound@gmail.com","avatar":null},"body":"2009/2/3 Hinko Kocevar <hinko.kocevar@cetrtapot.si>:\n> Hi,\n>\n> Is there a way to 'revert' committed and pushed tag?\n> I've noticed that some files were not included in the commit (new files)\n> and I would like to squeeze them in before the tag was\n> created/committed/pushed to the remote server.\n\nYou do it the same way you delete a branch (see git-push(1)):\ngit push origin :refs/tags/rc3\n\nNote that anybody that has fetched from your public repository will\n_not_ have their current 'rc3' tag overwritten with the new version\nwithout them deleting it first and letting fetch recreate it.\n\nMatt\n"},{"id":"103293","messageId":"498A9D19.7070902@cetrtapot.si","threadId":"17529","inReplyTo":"706b4240902031417p1a98f3fdtb2240ea5ae5b31a5@mail.gmail.com","subject":"Re: revert committed and pushed tag","fromName":"Hinko Kocevar","fromEmail":"hinko.kocevar@cetrtapot.si","sentAt":"2009-02-05T08:02:33Z","receivedAt":"2009-02-05T08:02:33Z","isPatch":false,"sender":{"key":"hinko.kocevar@cetrtapot.si","avatar":null},"body":"Matt Pearson wrote:\n> 2009/2/3 Hinko Kocevar <hinko.kocevar@cetrtapot.si>:\n>> Hi,\n>>\n>> Is there a way to 'revert' committed and pushed tag?\n>> I've noticed that some files were not included in the commit (new files)\n>> and I would like to squeeze them in before the tag was\n>> created/committed/pushed to the remote server.\n> \n> You do it the same way you delete a branch (see git-push(1)):\n> git push origin :refs/tags/rc3\n> \n> Note that anybody that has fetched from your public repository will\n> _not_ have their current 'rc3' tag overwritten with the new version\n> without them deleting it first and letting fetch recreate it.\n> \n\nThank you, that worked just the way I wanted!\n\nRegards,\nHinko\n\n-- \nHinko Kočevar, OSS developer\nČETRTA POT, d.o.o.\nPlanina 3, 4000 Kranj, SI EU\ntel     ++386 (0) 4 280 66 03\ne-mail  hinko.kocevar@cetrtapot.si\nhttp    www.cetrtapot.si\n"}]}