What problem does it solve?
This Skill helps you clean up complex Git history, apply the right commits to the right branches, and recover when something goes wrong, so you can move forward with confidence instead of getting stuck.
Core Features & Use Cases
- Interactive rebase for history cleanup: squash, fixup, reorder, reword, edit, and drop commits to produce a clean, reviewable branch history (e.g., preparing PRs with a tidy commit sequence).
- Cherry-picking for targeted changes: move specific commits (or ranges) across branches without merging entire branches (e.g., backporting a hotfix commit to multiple release lines).
- Bisect and reflog for troubleshooting and recovery: use bisect to find the commit that introduced a bug and use reflog to recover deleted commits/branches after risky operations (e.g., locating the regression point and restoring lost work).
Quick Start
Run interactive rebase on your branch with git rebase -i main to clean up commits before opening a pull request.