Skip to main content
在 Manus 中运行任何 Skill
一键导入

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".

概览

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".

安装命令
npx skills add https://github.com/diazMelgarejo/orama-system --skill git-reanchor

复制此命令并粘贴到 Claude Code 中以安装该技能

星标0
分支0
更新时间2026年6月3日 22:33
SKILL.md
readonly