1.删除git追踪状态
git rm --cached .idea
2. 提交到本地
git commit -m "We really don't want Git to track this anymore!"
3.推送到服务器
git push -u origin master
4.更新 .gitignore 忽略掉目标文件
/.idea
在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。
Δ
此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。