error: Your local changes to the following files would be overwritten by checkout:.idea/workspace

錯誤的下半句 **該分支在git 到遠程數據庫時 push 了.idea/workspace.xml,該文件在ignore中是默認攔截的所以導致提交不上去。解決辦法是刪除這個遠程服務器中的.idea ** 解決步驟 1.刪除遠程 .idea文件 $ git rm -r .idea 可能會提示下圖的錯誤。 部分人可能會沒有,直接看下一步就好了 我們先結束線程 error: the following
相關文章
相關標籤/搜索