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

清除缓存

git rm -r --cached .
git add .

提交记录

git commit -m "chore: clean cache"
git push

附录

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

1 条评论

  1. 云服务器教程网
    2021年2月25日

    […] 阅读原文:https://blog.mazey.net/1401.html […]

评论已关闭