git rm -r --cached .idea git add . git commit -m ‘忽略idea‘ git pull git push
git忽略.idan目录
原文:https://www.cnblogs.com/shenyixin/p/10579451.html