macOS
brew install git-filter-repolocal Homebrew formula metadata
sudo port install git-filter-repoMacPorts ports tree · devel/git-filter-repo/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de git-filter-repo pour les workflows d'agents IA.
installation
brew install git-filter-repolocal Homebrew formula metadata
sudo port install git-filter-repoMacPorts ports tree · devel/git-filter-repo/Portfile · Source: api.github.com
sudo apk add git-filter-repoAlpine Linux edge package indexes · git-filter-repo · Source: dl-cdn.alpinelinux.org
sudo apt install git-filter-repoDebian stable package indexes · git-filter-repo · Source: deb.debian.org
sudo dnf install git-filter-repoFedora Rawhide package metadata · git-filter-repo · Source: dl.fedoraproject.org
nix profile install nixpkgs#git-filter-reponixpkgs package indexes · git-filter-repo · Source: raw.githubusercontent.com
sudo pacman -S git-filter-repoArch Linux sync databases · git-filter-repo · Source: geo.mirror.pkgbuild.com
sudo zypper install git-filter-repoopenSUSE Tumbleweed package metadata · git-filter-repo · Source: download.opensuse.org
scoop install main/git-filter-repoScoop official bucket manifest trees · bucket/git-filter-repo.json · Source: api.github.com
aperçu
Quickly rewrite git repository history
historique
git-filter-repo is a Python-based Git history rewriting tool by Elijah Newren, positioned as a safer and faster successor to git filter-branch for repository cleanup, extraction, path rewriting, tag rewriting, and sensitive-data removal.
The project grew out of Newren's work on Git fast-export and fast-import based history filtering. The public repository carries imported history back to a 2009 initial import, while the standalone GitHub project was established in 2018 and began tagging releases alongside Git 2.23-era packaging. Its README frames the tool as a response to shortcomings in git filter-branch and BFG Repo Cleaner: poor performance, confusing multi-step cleanup, limited rewrite types, and fragile shell-based filtering.
Adoption was accelerated by the Git project's own filter-branch documentation, which warns against filter-branch for many use cases and points users toward git-filter-repo. The project became a standard answer for history-rewrite work because it combines a command-line interface, a Python library for custom filters, conversion guides from filter-branch and BFG, and packaging in common Unix package ecosystems.
Practitioners use git-filter-repo for destructive repository rewrites: removing large blobs or secrets, extracting a subdirectory with history, moving a project into a subdirectory before a merge, renaming tags, rewriting author data with mailmap information, or replacing text across historical blobs. The tool deliberately encourages use from a fresh clone and performs cleanup steps such as pruning old history and repacking so users do not mix rewritten and original refs.
For package maintainers and release engineers, git-filter-repo matters because it replaced a folklore-heavy set of filter-branch recipes with a single-file script, a documented manual, and reproducible transformations. Its existence also fed changes back into core Git fast-export and fast-import behavior, making it part of the broader Git tooling ecosystem rather than only a cleanup script.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
git-filter-repo | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/newren/git-filter-repo
métadonnées d'installation
| Clé du paquet | brew:git-filter-repo |
|---|---|
| Version | 2.47.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/git-filter-repo |
| Page d'accueil | https://github.com/newren/git-filter-repo |
| Dépôt | https://github.com/newren/git-filter-repo |
| Docs amont | https://github.com/newren/git-filter-repo#readme |
| Licence | MIT |
| Archive source | https://github.com/newren/git-filter-repo/releases/download/v2.47.0/git-filter-repo-2.47.0.tar.xz |
| Bibliothèques fournies par macOS | git, python |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-filter-repo |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
git-filter-repo 2.47.0-2
Quickly rewrite git repository history
https://github.com/newren/git-filter-repo
sudo apt install git-filter-repogit-filter-repo
nix profile install nixpkgs#git-filter-repogit-filter-repo 2.38.0-2
Quickly rewrite git repository history
https://github.com/newren/git-filter-repo
sudo apt install git-filter-repogit-filter-repo 2.47.0-r2
quickly rewrite git repository history
https://github.com/newren/git-filter-repo
sudo apk add git-filter-repogit-filter-repo-doc 2.47.0-r2
quickly rewrite git repository history (documentation)
https://github.com/newren/git-filter-repo
sudo apk add git-filter-repo-docgit-filter-repo 2.47.0-10.fc45
Quickly rewrite git repository history (git-filter-branch replacement)
https://github.com/newren/git-filter-repo
sudo dnf install git-filter-repogit-filter-repo 2.47.0-3
Quickly rewrite git repository history (filter-branch replacement)
https://github.com/newren/git-filter-repo
sudo pacman -S git-filter-repogit-filter-repo 2.47.0-2.3
Quickly rewrite git repository history (git-filter-branch replacement)
https://github.com/newren/git-filter-repo
sudo zypper install git-filter-repogit-filter-repo
sudo port install git-filter-repomain/git-filter-repo
scoop install main/git-filter-repopiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.