Re: git tag's history

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 24, 2010 at 5:12 AM, Mahesh Vaidya <forvaidya@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]