macOS
brew install git-filter-repolocal Homebrew formula metadata
sudo port install git-filter-repoMacPorts ports tree · devel/git-filter-repo/Portfile · ソース: api.github.com
brew
git-filter-repo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install git-filter-repolocal Homebrew formula metadata
sudo port install git-filter-repoMacPorts ports tree · devel/git-filter-repo/Portfile · ソース: api.github.com
sudo apk add git-filter-repoAlpine Linux edge package indexes · git-filter-repo · ソース: dl-cdn.alpinelinux.org
sudo apt install git-filter-repoDebian stable package indexes · git-filter-repo · ソース: deb.debian.org
sudo dnf install git-filter-repoFedora Rawhide package metadata · git-filter-repo · ソース: dl.fedoraproject.org
nix profile install nixpkgs#git-filter-reponixpkgs package indexes · git-filter-repo · ソース: raw.githubusercontent.com
sudo pacman -S git-filter-repoArch Linux sync databases · git-filter-repo · ソース: geo.mirror.pkgbuild.com
sudo zypper install git-filter-repoopenSUSE Tumbleweed package metadata · git-filter-repo · ソース: download.opensuse.org
scoop install main/git-filter-repoScoop official bucket manifest trees · bucket/git-filter-repo.json · ソース: api.github.com
概要
Quickly rewrite git repository history
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
git-filter-repo | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/newren/git-filter-repo
インストールメタデータ
| パッケージキー | brew:git-filter-repo |
|---|---|
| バージョン | 2.47.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/git-filter-repo |
| ホームページ | https://github.com/newren/git-filter-repo |
| リポジトリ | https://github.com/newren/git-filter-repo |
| 上流ドキュメント | https://github.com/newren/git-filter-repo#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/newren/git-filter-repo/releases/download/v2.47.0/git-filter-repo-2.47.0.tar.xz |
| macOS 提供ライブラリ | git, python |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-repoソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.