Remove Bad/Large Files From Git Repo History

BFG Repo Cleaner
GitHub
Sensitive data removal
jar file
brew installation
alternative tools
conversion cheat sheet
This article provides step-by-step instructions on how to remove sensitive data from a GitHub repository using BFG Repo Cleaner. It highlights the benefits of using BFG over other tools and offers a conversion cheat sheet for those who prefer using Git Filter-Repo.
Published

November 8, 2022


remove sensitive data from github

use bfg repo cleaner, avaliable in brew, downloadable as a jar.

git-filter-repo

other tools either perform poorly or have complex syntax. may not work as expected!

cheat sheet for converting bfg commands into git filter-repo