sourceTree报错:Updates were rejected because the tag already exists in the remote.

新安装的sourceTree导入原有的项目,pull-push,报错:Updates were rejected because the tag already exists in the remote.
解决办法是:在当前项目文件夹下
1,执行命令 获取所有的标签

git pull --tags

2、执行命令 覆盖本地存在的标签冲突

git pull --tags -f 

再次pull-push就可以了

posted @ 2020-07-15 15:21  开往秋天  阅读(2474)  评论(0)    收藏  举报