BFG Repo-Cleaner (UNOFFICIAL)

By ๆž—ๅšไป Buo-ren Lin

View on Snapcraft.io
Version1.14.0
Revision73
Size59.1 MB
LicenseGPL-3.0
Confinementstrict
Basecore22

Removes large or troublesome blobs like git-filter-branch does, but faster

Screenshot

The BFG is a simpler, faster alternative to [git-filter-branch][1] for cleansing bad data out of your Git repository history:

  • Removing Crazy Big Files
  • Removing Passwords, Credentials & 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:

  • [Faster][2] : 10 - 720x faster
  • [Simpler][3] : The BFG isn't particularily clever, but is focused on making the above tasks easy
  • Beautiful : If you need to, you can use the beautiful Scala language to customise the BFG. Which has got to be better than Bash scripting at least some of the time.

[1]: http://git-scm.com/docs/git-filter-branch
[2]: https://rtyley.github.io/bfg-repo-cleaner/#speed
[3]: https://rtyley.github.io/bfg-repo-cleaner/#examples

Snap-specific notes

You can adjust JVM max heap size limit via the following command:

 sudo snap set bfg-repo-cleaner jvm.xmx=2048m


No other JVM parameters are supported as of now.

Update History

1.14.0 (73)
13 Dec 2025, 09:47 UTC

Published18 Aug 2020, 13:05 UTC

Last updated29 Jul 2024, 05:49 UTC

First seen13 Dec 2025, 09:47 UTC