解决Git在添加ignore文件之前就提交了项目无法再过滤问题2017-12-11 本文已影响0人 煮茶听雨 http://blog.csdn.net/lusyoe/article/details/53400948 git pull git rm -r --cached . 新建.gitignore文件 git add . git commit -m "xx" git push