Git global tags— evidently bad, but why?

后端 未结 2 1145
轮回少年
轮回少年 2021-01-04 16:10

In his 2005 email to the Linux Kernel mailing list, Linus Torvalds is very emphatic that tags in git should be private and not be automatically included when fetching from o

相关标签:
2条回答
  • 2021-01-04 16:50

    I don't know, but tags are actually fetched these days, and that has been the default for a pretty long time.

    The wording in the parts you're quoting seems confusing to me when looking at it with today's git terminology, so I'd dare to claim that Linus's statement is outdated.

    0 讨论(0)
  • 2021-01-04 16:53

    The key word there is "not automatically included." You can push and pull tags, you just have to specify it in your push/pull commands. Try git push --tags.

    (Actually, tags are automatically pulled these days, but pushes must be explicit.)

    0 讨论(0)
提交回复
热议问题