What problem does it solve?
This Skill empowers you to confidently manage complex Git histories, collaborate effectively with a clean codebase, and recover from any Git-related mistake, ensuring your project's integrity and reducing merge conflicts.
Core Features & Use Cases
- Interactive Rebase: Clean up messy commit histories by squashing "WIP" commits, reordering changes, and rewording messages for crystal-clear pull requests.
- Git Bisect: Efficiently find the exact commit that introduced a bug using a powerful binary search approach, saving hours of manual debugging.
- Worktrees: Work on multiple branches simultaneously without the hassle of stashing or frequent context switching, boosting your parallel development efficiency.
- Reflog: Act as your ultimate safety net, tracking all Git operations to help you recover lost commits or branches, even after a hard reset.
- Use Case: A developer needs to prepare a feature branch for a pull request. This skill guides them through an interactive rebase to squash "fix typo" commits, reword unclear messages, and create a clean, linear history, making the review process much smoother and faster.
Quick Start
I need to clean up my feature branch 'feature/new-api' before creating a pull request. Guide me through the interactive rebase process to squash my "fix" commits and reword messages for clarity.