GIT 从仓库中删除某文件及历史提交记录2020-09-28发表编程 / 工具几秒读完 (大约45个字)0次访问命令123git filter-branch --force --index-filter \ "git rm --cached --ignore-unmatch [文件路径]" \ --prune-empty --tag-name-filter cat -- --all 参考文档 https://docs.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository #Git