使用git filter-branch或BFG Repo-Cleaner从历史中完全删除
git filter-branch
然后强制推送到远程(git push --force)
git push --force
通知所有协作者重新克隆仓库
← Git基础