Git 删除 .gitignore 生成以前上传的文件

清除缓存

git rm -r --cached .
git add .

提交记录

git commit -m "chore: 清除缓存。"
git push

附录

阅读原文:https://blog.mazey.net/1401.htmlhtml

相关文章
相关标签/搜索