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
网友评论