What problem does it solve?
This Skill eliminates the need to stash changes or create separate clones when working on multiple branches by enabling simultaneous checkouts in separate directories, making context switches safe and fast while avoiding branch conflicts.
Core Features & Use Cases
- Concurrent branch workspaces: Create linked worktrees to work on features, hotfixes, PR reviews, or experiments without disrupting your main checkout.
- Administrative commands: Add, list, move, remove, lock, unlock, prune, and repair worktrees to manage lifecycle and recover from manual changes.
- Selective integration: Compare files, cherry-pick commits, and selectively checkout or restore files across worktrees for precise merges and reviews.
- Use Case: Spin up an isolated worktree to run long-running tests or review a pull request while continuing feature development in the main directory.
Quick Start
Create a new worktree for branch feature-x at ../feature-x, run the test suite there, and report any failing tests.