Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides safe Git history work, covering commits, interactive rebases, cherry-picks, bisect, worktrees, conflicts, and reflog recovery.
73% 73%0 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 16 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
98 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Maintain clean, bisectable history and recover safely from Git mistakes.
Always check working tree state before staging, committing, or rewriting history:
git status --short
git diff --stat
git log --oneline -5
Never discard or overwrite unrelated user changes; stage explicit files rather than blind git add -A when unrelated edits exist.
Fix timezone boundary in expiry calculation).git rebase -i $(git merge-base HEAD main) (squash/fixup/reword), then git push --force-with-lease (never --force blindly on shared branches).git cherry-pick <sha> (use -n to review before committing).git bisect start HEAD <good-tag> and git bisect run npm test, finishing with git bisect reset.git worktree add ../repo-hotfix -b hotfix/name main to test or patch without disturbing the main worktree; clean up with git worktree remove.ours/theirs.git reflog and git branch recovered <sha> before running destructive commands.Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.