git删除大文件

git filter-branch --force --index-filter 'git rm -rf --cached --ignore-unmatch 文件路径' --prune-empty --tag-name-filter cat -- --all

  文件路径是从项目根路径计算的

posted on 2024-02-06 10:43  pa200318  阅读(14)  评论(0)    收藏  举报

导航