作者:mobiledu2502886691 | 来源:互联网 | 2023-09-11 19:18
IhaveatagcalledlatestandIwantthattobeabranchinstead.Oppositeofthis.Ineedtoremov
I have a tag called latest and I want that to be a branch instead. Opposite of this. I need to remove it from the remote repo as well.
我有一个名为latest的标签,我希望它成为一个分支。与此相反。我也需要将它从远程仓库中删除。
Background: This is currently a problem for many golang packages, where goinstall looks for a release tag or branch, which corresponds with the latest official release of the language. Many people mistakenly used git tags, by analogy with other VCSes, when they should have used git branches.
背景:对于许多golang软件包来说,这是一个问题,goinstall会查找发布标记或分支,这与该语言的最新官方版本相对应。当他们应该使用git分支时,许多人错误地使用git标签,类似于其他VCS。
2 个解决方案