Why git tag a blob or a tree (or a tag)?

前端 未结 2 1924
说谎
说谎 2021-01-12 15:36

I understand how it is possible to tag a blob, or a tree, or even another annotated tag, using a git tag. I understand the architecture and conceptual design that

2条回答
  •  粉色の甜心
    2021-01-12 15:53

    Tagging trees or blobs may be appropriate temporarily in long-running utility programs that manipulate objects directly. Tagging would ensure that git gc can be safely run in parallel. The utility program would then remove the tags when it's done, when it's created a commit.

提交回复
热议问题