.gitignore 中要写上 workspace.xml
如果已经不幸之前commit workspace.xml 的话,必须执行以下命令
$ git rm --cached .idea/workspace.xml
参考:
http://segmentfault.com/q/1010000000689138
注意先使用 cd \e:\projects 进入相应repo
.gitignore 中要写上 workspace.xml
如果已经不幸之前commit workspace.xml 的话,必须执行以下命令
$ git rm --cached .idea/workspace.xml
参考:
http://segmentfault.com/q/1010000000689138
注意先使用 cd \e:\projects 进入相应repo
转载于:https://www.cnblogs.com/norsd/p/6359328.html