How to remove unreferenced blobs from my git repo

后端 未结 10 2405
轻奢々
轻奢々 2020-11-22 15:07

I have a GitHub repo that had two branches - master & release.

The release branch contained binary distribution files that were contributing to a very large repo

10条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 15:23

    Try to use git-filter-branch - it does's not remove big blobs, but it can remove big files which you specify from the whole repo. For me it reduces repo size from hundreds MB to 12 MB.

提交回复
热议问题