这个问题的原因是 tag 有问题,注意是tag

解决方法:
方法一:
推送的时候不要勾选“推送所有标签”
source 推送出现 Updates were rejected because the tag already exists in the remote.的错误
这种方法治标不治本,正常的话都会勾选标签的
方法二:
1、执行命令 git pull --tags(获取所有的标签),这个地方可能会报错
,问题就在这里了,would clobber existing tag 的意思是 会破坏现有的标签source 推送出现 Updates were rejected because the tag already exists in the remote.的错误
2、执行命令 git pull --tags -f ,这个命令可以覆盖本地存在的标签冲突source 推送出现 Updates were rejected because the tag already exists in the remote.的错误

相关文章:

  • 2021-09-03
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
猜你喜欢
  • 2021-05-17
  • 2021-07-10
  • 2021-12-12
  • 2021-08-26
相关资源
相似解决方案