Skip to content

Gitclean is a fork of the bfg-repo-cleaner project, with the political rubbish printed to stdout removed. Gitclean is a legitimate project in its own right; I'll take bug reports and enhancement requests. Release 1.0.0 of Gitclean is available now; the project builds from source and all tests successfully pass.

License

youngde811/gitclean

 
 

Repository files navigation

Removes large or troublesome blobs like git-filter-branch does, but faster - and written in Scala

$ gitclean --strip-blobs-bigger-than 1M --replace-text banned.txt repo.git

Gitclean is a fork of the BFG Repo Cleaner (https://rtyley.github.io/bfg-repo-cleaner) - a Scala-based tool used to simplify the cleaning and shrinking of Git repositories. The original was authored by Roberto Tyley; it has fallen into some disrepair and contains some "features" that are not suitable for a professional engineering environment. Until a Gitclean-specific website can be created, please visit https://rtyley.github.io/bfg-repo-cleaner/ for details and documentation.

At a minimum, Gitclean may be used to:

  • Remove extremely large objects in repository history.
  • Removing Passwords, Credentials and other Private data

As previously written, until Gitclean has a proper website, the main documention for BFG still applies : https://rtyley.github.io/bfg-repo-cleaner/

About

Gitclean is a fork of the bfg-repo-cleaner project, with the political rubbish printed to stdout removed. Gitclean is a legitimate project in its own right; I'll take bug reports and enhancement requests. Release 1.0.0 of Gitclean is available now; the project builds from source and all tests successfully pass.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 99.9%
  • Shell 0.1%