0Pricing
Git & GitHub Professional Workflow · Lesson

Rewriting History with git filter-repo

Learn how to rewrite repository history at scale to remove large files or sensitive data using git filter-repo.

Why Rewrite History?

Sometimes you must rewrite the entire history of a repo: to remove a leaked password, delete huge accidentally-committed files, or fix author emails across all commits.

Meet git filter-repo

git filter-repo is the modern, fast tool for history rewriting. It replaces the old and slow git filter-branch.

All lessons in this course

  1. Git Reflog & Recovering History
  2. Git Bisect for Debugging
  3. Repository Maintenance & Housekeeping
  4. Rewriting History with git filter-repo
← Back to Git & GitHub Professional Workflow