解决修改.gitgnore文件后不刷新 2019-01-19 本文已影响0人 勤劳的杯子 使用 git rm -r --cached . 清除本地缓存 再次添加到暂存区 git add . 3.再次提交 git commit -m 'update .gitignore'