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

清除缓存

git rm -r --cached .
git add .

提交记录

git commit -m "chore: 清除缓存。"
git push
posted @ 2021-02-16 22:10  除除  阅读(200)  评论(0)    收藏  举报