gitignore文件不生效

git rm -r --cached .
git add .
git commit -m 'update .gitignore'
原文地址:https://www.cnblogs.com/brady-wang/p/11719421.html