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

git tag's history

From
MVMahesh Vaidya <forvaidya@gmail.com>
Date
Jul 24, 2010, 12:12 UTC
Message-ID
<AANLkTinCTcnr=tyC2+C4u5L0p_mXxTCMfSBm_JzqqMDW@mail.gmail.com>

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
Next: David Aguilar
Message 1 of 4 in “git tag's history”
  1. Mahesh VaidyaJul 24, 2010
  2. David AguilarJul 26, 2010
  3. Will PalmerJul 26, 2010
  4. Nicolas SebrechtJul 26, 2010

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.