awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
newren avatar

newren/git-filter-repo

0
View on GitHub↗
11,748 stars·923 forks·Python·other·23 views

Git Filter Repo

Git-filter-repo is a command-line utility designed for the permanent modification and restructuring of Git repository history. It functions as a maintenance tool for cleaning project data, enabling users to reorganize file structures, update commit metadata, and purge sensitive information such as credentials or large blobs from the entire commit graph.

The tool distinguishes itself by interacting directly with the internal Git object database rather than relying on standard command-line interfaces. It utilizes the native fast-import stream protocol and processes commits as a continuous data stream, which allows for efficient in-memory tree transformations and rapid history rewriting even in large repositories.

This utility supports comprehensive version control refactoring, facilitating the migration of legacy projects or the splitting of repositories into smaller components. It provides a systematic approach to maintaining repository security and size by ensuring that historical changes are applied consistently across all commits. The software is distributed as a Python script and is intended for use in automated repository maintenance workflows.

Features

  • History Rewriting - Permanently removes sensitive data, reorganizes file structures, and updates commit metadata across entire project histories.
  • Git Utilities - Provides a specialized utility for restructuring and cleaning Git repositories during migrations or project splitting.
  • Git History Cleaners - Offers a command-line tool for permanently modifying or removing files, directories, and commit metadata from repository history.
  • Version Control Utilities - Optimizes Git repository size and security by purging sensitive data and large blobs from the commit history.
  • Repository Maintenance - Cleans up large or sensitive files from project history to reduce repository size and improve security.
  • Git Workflows - Facilitates the restructuring and cleaning of legacy repositories during complex migration and merging workflows.
  • Credential Remediation Workflows - Permanently purges passwords, API keys, and private credentials from every commit in a repository history.
  • Version Control and Repository Tools - Modifies commit logs and file structures across entire projects to reorganize code and fix historical mistakes.
  • In-Memory Transformation Engines - Performs rapid repository tree transformations entirely in memory to optimize history rewriting performance.
  • Fast-Import Protocols - Utilizes the native fast-import stream protocol to efficiently pipe transformed repository objects into a new commit graph.
  • Git Object Backends - Interacts directly with the internal Git object database to perform repository history modifications.
  • Metadata Rewriters - Updates commit headers and author information by parsing and re-encoding raw commit objects during the migration process.

Star history

Star history chart for newren/git-filter-repoStar history chart for newren/git-filter-repo

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Git Filter Repo

Similar open-source projects, ranked by how many features they share with Git Filter Repo.
  • k88hudson/git-flight-rulesk88hudson avatar

    k88hudson/git-flight-rules

    42,472View on GitHub↗

    git-flight-rules is a collection of curated guidelines, operational resources, and a command reference for managing version control with Git. It provides a set of procedure-based rules and best practices designed to organize code history, branches, and collaborative development. The project distinguishes itself by providing structured workflows for complex history manipulation and data recovery. This includes specific guidance on rewriting commit history to remove sensitive data, using the reference log to recover lost work, and employing binary searches to isolate regressions. The resource

    View on GitHub↗42,472
  • jj-vcs/jjjj-vcs avatar

    jj-vcs/jj

    29,746View on GitHub↗

    Jujutsu is a distributed version control engine designed to manage project history through mutable commits and a persistent operation log. By treating the working directory as a mutable commit, it eliminates the need for manual staging areas, allowing users to modify repository history directly without checking out specific branches. The system maintains full compatibility with existing remote repositories, ensuring that local workflows remain interoperable with standard version control ecosystems. A defining characteristic of the project is its conflict-aware architecture, which treats merge

    Rustcligitjj
    View on GitHub↗29,746
  • gitextensions/gitextensionsgitextensions avatar

    gitextensions/gitextensions

    8,361View on GitHub↗

    GitExtensions is a graphical user interface client for managing Git repositories. It provides a suite of visual tools for browsing commit logs, staging changes, and tracking file evolution across a project's history. The project features a commit visualizer that maps branch and merge relationships via a graphical map and a dedicated history manager for performing interactive rebases and squashing commits. It includes a visual merge conflict resolver to identify and fix overlapping code changes during merges or history rewrites. The software covers broad version control capabilities, includin

    C#gitgit-clientgit-gui
    View on GitHub↗8,361
  • tj/git-extrastj avatar

    tj/git-extras

    18,076View on GitHub↗

    git-extras is a collection of command line utilities that extend the functionality of the Git version control system. It provides a suite of shortcuts and additional commands for history manipulation, remote management, repository analysis, and workflow automation. The project distinguishes itself by offering deep integration with hosting providers to manage pull requests and forks, alongside advanced history tools for obliterating sensitive files and rewriting author metadata. It also includes a specialized interactive shell that allows users to execute commands without repeating the binary

    Shellgit
    View on GitHub↗18,076
See all 30 alternatives to Git Filter Repo→

Frequently asked questions

What does newren/git-filter-repo do?

Git-filter-repo is a command-line utility designed for the permanent modification and restructuring of Git repository history. It functions as a maintenance tool for cleaning project data, enabling users to reorganize file structures, update commit metadata, and purge sensitive information such as credentials or large blobs from the entire commit graph.

What are the main features of newren/git-filter-repo?

The main features of newren/git-filter-repo are: History Rewriting, Git Utilities, Git History Cleaners, Version Control Utilities, Repository Maintenance, Git Workflows, Credential Remediation Workflows, Version Control and Repository Tools.

What are some open-source alternatives to newren/git-filter-repo?

Open-source alternatives to newren/git-filter-repo include: k88hudson/git-flight-rules — git-flight-rules is a collection of curated guidelines, operational resources, and a command reference for managing… jj-vcs/jj — Jujutsu is a distributed version control engine designed to manage project history through mutable commits and a… gitextensions/gitextensions — GitExtensions is a graphical user interface client for managing Git repositories. It provides a suite of visual tools… tj/git-extras — git-extras is a collection of command line utilities that extend the functionality of the Git version control system.… jayphelps/git-blame-someone-else — git-blame-someone-else is a Git authorship rewriter and commit history editor designed to modify the identity… rtyley/bfg-repo-cleaner — BFG Repo-Cleaner is a Git history cleaner and repository optimizer designed to permanently remove large files and…