Your local changes will be overwritten by merge. Commit, stash, or revert them to proceed:workspace.xml 切换分支或者提交代码都没法完成: 解决办法: 将远端提交的文件给删掉,删除指令为: git rm -f --cached .idea/*