Mia Chevalier
20 May 2024
How to Remove Blobs with Git Filter-Repo

Removing huge files that are no longer needed is essential to preserving efficiency while managing a Git repository. Blobs greater than a particular size can be easily removed using the BFG tool, but getting the same effect with Git Filter-Repo can be difficult. The Python and shell scripts provided in this post can be used to recreate the functionality of BFG, making sure that only huge, superfluous files are deleted and that necessary files remain intact.