美文网首页
git 常见报错解决

git 常见报错解决

作者: feitry | 来源:发表于2021-08-02 16:16 被阅读0次

git在push时,报错“hint: Updates were rejected because the tag already exists in the remote.”
这种情况,出现在我使用tag时,tag,删除,tag……。
然后发现推代码报错如图啦


截屏2021-08-02 下午4.07.02.png

自己从网上找到的解决办法,就是执行命令

$ git pull --tags
$ git pull --tags -f
截屏2021-08-02 下午4.09.36.png

相关文章

网友评论

      本文标题:git 常见报错解决

      本文链接:https://www.haomeiwen.com/subject/ijkjvltx.html