# newren/git-filter-repo

Quickly rewrite git repository history (filter-branch replacement)

Repository: https://github.com/newren/git-filter-repo
Canonical: https://ross.abutalabs.com/products/git-filter-repo
Language: Python
License: NOASSERTION
License Family: other
Last push: 2026-07-09T22:09:49+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 8, longevity 100
- inputs: {"age_days": 2934, "days_push": 55, "days_rel": 637, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13188, forks 998 (observed 2026-08-28T04:11:02.481490+00:00)

## What it is
git-filter-repo is a fast, versatile tool for rewriting Git repository history, recommended by the Git project as a replacement for git filter-branch. It works as a single-file Python CLI script and also provides a library for building custom history-rewriting tools.

## Use cases
- remove large files or secrets from git history
- rewrite commit history of a git repository
- replace git filter-branch with a faster alternative
- clean sensitive data out of a repo before open-sourcing
- rename or move files across all commits
- build custom git history rewriting scripts

## When to choose
- you need to rewrite large repository history quickly
- git filter-branch is too slow or limited
- you want the tool officially recommended by the Git project
- you need programmatic history rewriting via a Python library

## When to avoid
- you only need to undo recent commits (use git reset or rebase)
- you want an interactive rebase of a few commits
- you cannot rewrite history because the repo is shared without coordination

## Facets
- artifact type: cli-tool
- maturity: stable
- function: version-control, developer-tools, cli
- domain: version-control, developer-tools
- platform: python, cli, cross-platform
- tags: git, history-rewriting, filter-branch-replacement, repo-cleaning, single-file-script, command-line

## Member repositories
- newren/git-filter-repo (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:02.481490+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:27.347070+00:00, confidence not recorded.
  - readme: https://github.com/newren/git-filter-repo (fetched 2026-08-28T04:11:02.481490+00:00, sha ca08121e33a0)
  - registry_pypi: https://pypi.org/pypi/git-filter-repo/json (fetched 2026-08-29T08:08:41.326640+00:00, sha ce17053d9951)
- Data as of 2026-08-30T08:39:29.467469+00:00.
