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