Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Rebase, squash, or rewrite history without losing work or breaking shared branches. Use before any history rewrite.
.claude/skills/archive228-rebase-safely/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 16% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 20% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 110% | 0% |
git branch backup/<name> before any rewrite. Free undo.git fetch; git rebase origin/main.--force-with-lease, never bare --force (lease refuses if someone else pushed).If anything goes sideways: git reflog finds the pre-rebase state; git reset --hard backup/<name> restores it.
Other measured skills in the registry, with their headline benchmark lift.