Skip to main content
Run any Skill in Manus
with one click

git-reanchor

Recover branches that look "orphaned" or "600 commits behind" after a force-pushed / rewritten main, by re-anchoring each onto the byte-identical twin commit that already exists in the rewritten history. Invoke when: "branches are 600 behind", "orphaned branch after rewrite", "re-anchor branch to main", "branches lost common ancestor", "reconcile branches after force-push", "recover deleted branch", "byte-identical common ancestor", "git history rewrite recovery", "branches all became the same".

Overview

Recover branches that look "orphaned" or "600 commits behind" after a force-pushed / rewritten main, by re-anchoring each onto the byte-identical twin commit that already exists in the rewritten history. Invoke when: "branches are 600 behind", "orphaned branch after rewrite", "re-anchor branch to main", "branches lost common ancestor", "reconcile branches after force-push", "recover deleted branch", "byte-identical common ancestor", "git history rewrite recovery", "branches all became the same".

Install command
npx skills add https://github.com/diazMelgarejo/orama-system --skill git-reanchor

Copy and paste this command into Claude Code to install the skill

Stars0
Forks0
UpdatedJune 3, 2026 at 22:33
SKILL.md
readonly