git移除 .idea文件夹


关掉idea工具
把 目录下的.idea文件夹复制到其他地方
使用git bash here 工具,运行

git rm -r .idea
会提示那些文件 被移除。

然后提交git
git commit -m "Remove .idea"

最后把.idea 文件夹复制回去
重新打开ide工具,push到服务器。
原文地址:https://www.cnblogs.com/hui413027075/p/12156441.html