Git Anchoring

Use before any git surgery — history rewriting, commit decomposition, rebase-heavy work, or any task that moves refs around. Establishes anchor refs, on-disk state, and worktree isolation so work cannot be orphaned and any fresh context can re-orient. Also use when recovering seemingly lost commits.

snits Updated

File contents

snits/claude-files/tree/main/skills/git-anchoring commit 8a4b95e2c9

Frequently asked questions

npx skillmds@latest add snits/git-anchoring