git的使用 gitingore后建立的问题 git rm -r --cached . git add . git commit -m ".gitignore重建成功" git push // gitignore文件如果项目初始化时未加入,后期再加入是无效的,需要重建缓存