git .gitignore 忽略的文件还会被提交 等会儿_ 2020-09-17 663 阅读1分钟 .gitignore 新加忽略文件,发现忽略的文件还会提交。用下面方法就会生效了 .gitignore // 去缓存 添加 提交 git rm -r --cached . git add . git commit -m 'update .gitignore'