skills/smithery.ai/git-rewrite-history

git-rewrite-history

Installation
SKILL.md

Git Rewrite History Skill

Purpose: Safely rewrite git history using git-filter-repo, the modern replacement for git filter-branch.

Why git-filter-repo over git-filter-branch

Always use git-filter-repo instead of git filter-branch. Git itself warns against filter-branch:

git-filter-branch has a glut of gotchas generating mangled history rewrites. Use git-filter-repo instead.

Feature git-filter-repo git-filter-branch
Speed 10-50x faster Slow
Safety Handles edge cases Many gotchas
Maintenance Actively maintained Deprecated
Syntax Simple, intuitive Complex, error-prone
Installs
1
First Seen
Mar 20, 2026
git-rewrite-history from smithery.ai