git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* revert committed and pushed tag
@ 2009-02-03 14:45 Hinko Kocevar
  2009-02-03 22:17 ` Matt Pearson
  0 siblings, 1 reply; 3+ messages in thread
From: Hinko Kocevar @ 2009-02-03 14:45 UTC (permalink / raw)
  To: git

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.

I did:
$ git add ..files..
$ git commit
$ git push
$ git tag rc3
$ git push --tags

Thank you,
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: revert committed and pushed tag
  2009-02-03 14:45 revert committed and pushed tag Hinko Kocevar
@ 2009-02-03 22:17 ` Matt Pearson
  2009-02-05  8:02   ` Hinko Kocevar
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Pearson @ 2009-02-03 22:17 UTC (permalink / raw)
  To: Hinko Kocevar; +Cc: git

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.

Matt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: revert committed and pushed tag
  2009-02-03 22:17 ` Matt Pearson
@ 2009-02-05  8:02   ` Hinko Kocevar
  0 siblings, 0 replies; 3+ messages in thread
From: Hinko Kocevar @ 2009-02-05  8:02 UTC (permalink / raw)
  To: Matt Pearson; +Cc: git

Matt Pearson wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-05  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 14:45 revert committed and pushed tag Hinko Kocevar
2009-02-03 22:17 ` Matt Pearson
2009-02-05  8:02   ` Hinko Kocevar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).