Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: git tag's history

From: David Aguilar <hidden>
Date: 2016-06-15 22:49:11

On Sat, Jul 24, 2010 at 5:12 AM, Mahesh Vaidya [off-list ref] wrote:
If git tag's history is preserved or I need to implement this in
pre-receive hook

Scenario
^^^^^^^^^^^^
I create a tag FOO -corresponding to a commit cdf123

FOO->cdf123 and I push this Tag to authoritative repository ; all fine.

Now my buddy creates overwrite my tag (git tag -f) and now this tag
looks at some other commit

FOO->123aff

He does a push tag FOO; assuming no restriction in pre-receive this
push will get applied and my earlier cdf123 is lost. Is there any way
to retrive Tag's history or in need to implement some scheme

Thx/ Mahesh

He won't be able to push the tag unless he forcibly deletes your tag first.

Tags do not have history.  This is a non-technical problem.  If s/he's
deleting your tags, it's a social problem.

-- 
    David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help