← Back to tools

BFG Repo-Cleaner

Removes large or troublesome blobs from git history, faster

Version Control linuxmacoswindows Java GPL-3.0

Description

BFG Repo-Cleaner removes large or troublesome blobs from git history, like git-filter-branch does but faster. It is designed for cleaning up git repositories by removing large files, passwords, or credentials from the commit history.

When to use this tool

Good fit when
  • User accidentally committed large files or secrets
  • User needs to clean up git repository history
Avoid when
  • User only needs to remove files from the current commit

AI Summary

A faster alternative to git-filter-branch for removing large files, passwords, and credentials from git history.

Capabilities

  • + Remove large files from git history
  • + Remove passwords and credentials from commits
  • + Much faster than git-filter-branch
  • + Simple command-line interface

Use When

  • User accidentally committed large files or secrets
  • User needs to clean up git repository history

Avoid When

  • x User only needs to remove files from the current commit
View AGENTS.md for BFG Repo-Cleaner