What problem does it solve?
Managing sprawling commit histories, coordinating multi-branch collaboration, and recovering lost or conflicting changes without destructive rewrites.
Core Features & Use Cases
- Interactive Rebase Mastery: Guide through pick, reword, edit, squash, fixup, and drop to craft logical histories and prepare PRs.
- Cherry-Pick, Bisect, and Worktree Control: Apply specific commits across branches, locate bug-introducing changes, and work on multiple branches simultaneously without disruption.
- Reflog Recovery & Best Practices: Track ref movements to restore deleted commits or branches, enforce safe force-pushes with --force-with-lease, and keep backups before risky operations.
- Use Case: Clean up a feature branch before pushing, then cherry-pick a hotfix into release branches, run bisect to isolate a regression, and use worktrees plus reflog to recover any mishaps.
Quick Start
Start by rebasing your feature branch onto main and squashing fixup commits to prep for a clean PR.