{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"Rewrites git repository history efficiently, replacing files, removing sensitive data, extracting subdirectories, and renaming paths across commits\u2014faster and more capable than git filter-branch.","skillfed_tags":["git-tools","history-rewriting","devops"],"use_cases":["Remove accidentally committed secrets, large files, or sensitive data from all commits in a repository's history.","Extract a subdirectory from a monorepo into a standalone repository with clean history.","Rename file paths or directory structures across an entire repository's commit history.","Migrate repositories between hosting platforms while cleaning up or restructuring history.","Build a custom history rewriting tool by leveraging the filter-repo library for domain-specific transformations."],"what_it_does":"git-filter-repo is a command-line tool and Python library for rewriting git repository history. It handles tasks like removing files, renaming paths, extracting subdirectories, and cleaning sensitive data across all commits. The tool is designed as a modern replacement for git filter-branch, which the git project itself now recommends against due to poor performance and safety issues.\n\nMost users interact with it as a CLI tool with flags for common rewrites. For specialized needs, the package also exposes a library interface so developers can build custom history rewriting tools. It requires git >= 2.22.0 and Python >= 3.6, and has no external Python dependencies beyond the standard library.","worth_installing":"Yes. It is actively maintained, has no dependencies, installs easily, and solves a real problem (git history rewriting) that git filter-branch handles poorly. The MIT license is permissive. No known vulnerabilities. Recommended by the git project itself as the successor to filter-branch. Install if you need to rewrite git history or build tools that do so."},"id":"git-filter-repo","links":{"html":"https://skillfed.io/packages/git-filter-repo","md":"https://skillfed.io/packages/git-filter-repo.md","pypi":"https://pypi.org/project/git-filter-repo/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-12-04","license_spdx":null,"license_treatment":"permissive","name":"git-filter-repo","python_support":"supports_current","summary":"Quickly rewrite git repository history"},"popularity":{"monthly_downloads":940506,"position":4681,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.47.0"}
