让.gitignore更新后生效 662021年7月21日20:27:04阅读模式 git rm -r --cached .//清空缓存 git add .//重新提交 git commit -m "update .gitignore" 本文来自凡蜕博客(https://blog.ysboke.cn), 转载请带上地址.。