1:删除本地缓存git rm --cached -r .idea2:删除远程仓库git commit -m"commit and remove .idea"3:提交代码git push origin master