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
相关文章
相关标签/搜索