The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history. You can use it for removing crazy big files, and for removing passwords, credentials and other private data. The git-filter-branch command is enormously powerful and can do things that the BFG can't, but the BFG is much better for the tasks above, because is faster and simpler. The BFG isn't particularily clever, but is focused on making the above tasks easy. If you need to, you can use the beautiful Scala language to customize the BFG. Which has got to be better than Bash scripting at least some of the time. The BFG will update your commits and all branches and tags so they are clean, but it doesn't physically delete the unwanted stuff. Examine the repo to make sure your history has been updated, and then use the standard git gc command to strip out the unwanted dirty data.

Features

  • Remove big files
  • Remove passwords, credentials and private data
  • You can run the BFG to clean your repository up
  • The BFG will update your commits and all branches and tags so they are clean
  • Remove all blobs bigger than 50 megabytes
  • Replace all passwords listed in a file

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

GNU General Public License version 3.0 (GPLv3)

Follow BFG Repo-Cleaner

BFG Repo-Cleaner Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BFG Repo-Cleaner!

Additional Project Details

Programming Language

Scala

Related Categories

Scala File Managers

Registered

2021-07-28