Fixup

Fold an uncommitted fix into the commit that introduced the code, so the branch reads as if the bug never existed. Finds the introducing commit, runs `--fixup` plus `--autosquash` (or `--amend` at the tip), then force-pushes with lease. Use for every fix on an unmerged branch, whether it came from review feedback, a CI failure, or a bug, and whenever asked to amend, fold, squash into, or fixup a commit.

BenjaminG 40b8c1e 2.3 KB Updated

File contents

BenjaminG/ai-skills/tree/main/skills/fixup commit 40b8c1ee03

Frequently asked questions

npx skillmds@latest add benjaming/fixup