#1.重置所有缓存
git rm -r --cached .
#2.重新添加
git add .
#3.提交
git commit -m "refreshing .gitignore file"
git:解决.gitignore更新后无法排除已提交文件(刷新忽略文件)
于 2022-11-10 15:48:45 首次发布
#1.重置所有缓存
git rm -r --cached .
#2.重新添加
git add .
#3.提交
git commit -m "refreshing .gitignore file"