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就可以了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM