.gitignore无效的解决方案 第一步:git rm -r --cached . 第二步:git add . 第二步:git commit -m 'update.gitignore' 注意小数点*3