What problem does it solve?
Prevents dangerous mismatches between local branch names and remote branch names when using Git worktrees, which can lead to conflicting pushes, lost work, and confusing repository state.
Core Features & Use Cases
- Branch-name enforcement: Advises that local branch names must exactly match remote branch names to enable Git's built-in worktree protections.
- PR checkout guidance: Recommends gh pr checkout where available and provides manual fetch plus git worktree add workflows for creating worktrees that track PR branches safely.
- Cleanup and conventions: Covers directory naming conventions for worktrees and the correct removal process to unblock branches for other checkouts.
Quick Start
Create a new worktree for PR 42 ensuring the local branch name matches the remote branch and show the exact git commands to perform this safely.