Why should tags never be deleted from the server?

Reading Gerrit docs , it says:

[...] users should be really knowledgeable about git, 
for instance knowing why tags never should be removed from a server

He does not specify this statement. I do not see any problems with this, and I also can not find information about this.

So why should tags never be deleted from the server?

+4
source share
2 answers

Why you shouldn’t remove the deleted tag is explained at the bottom of the http://git-scm.com/docs/git-tag , section “When you re-mark it”.

: , . , , A , commit B

+2

", , " .

Gerrit , , , , ( ), ( ).

. "

refs/* , Gerrit .

. , , .
ALLOW DENY, , , , , " " - .

:

,

, . "All-Projects":

[access "refs/tags/*"]
  push = block group Anonymous Users
  create = group Project Owners
  pushTag = group Project Owners
+2

Source: https://habr.com/ru/post/1544816/


All Articles