Documentation
¶
Overview ¶
filter-git-hist is a more robust but limited git-filter-branch.
The generated history is deterministic, and each run, as long as the parameters stay the same, will be exactly the same.
The input commit history must be linear, there must not be submodules (they will be silently ignored), and GPG signature will also be dropped. The output blobs/trees/commits will be written to a different/output directory. Input/output are directly read/written from the .git folder of git repositories. For output, an empty .git is sufficient.
The generated commit history can be set to a branch as defined by branch name parameter, and can also be optionally set as the head of the repo.
Click to show internal directories.
Click to hide internal directories.