Use when the user asks to rewrite Git history across paths or content, such as removing a file or secret from every commit, or to use git-filter-repo. Amending, squashing and rebasing commits have their own skills.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Git Rewrite History?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/holdmyspot-com-git-rewrite-history-cat)
---
description: Use when the user asks to rewrite Git history across paths or content, such as removing a file or secret from every commit, or to use git-filter-repo. Amending, squashing and rebasing commits have their own skills.
---
<!-- cat:include ../shared-lazy-body.md -->