What problem does it solve?
This Skill solves the problem of managing multiple development efforts within a single repository without constantly switching branches or polluting your main workspace. It ensures isolated, clean environments for feature work or implementation plans.
Core Features & Use Cases
- Isolated Workspaces: Create separate Git worktrees for different tasks, sharing the same repository but with distinct working directories.
- Smart Directory Selection: Automatically or interactively determine the best location for new worktrees, respecting project conventions.
- Safety Verification: Integrates with
.gitignore to prevent accidental commits of worktree contents, maintaining repository cleanliness.
- Use Case: When starting a new feature, use this skill to create a dedicated worktree, ensuring your changes are isolated and don't interfere with other ongoing tasks or the main branch.
Quick Start
Use the Using-Git-Worktrees skill to set up an isolated workspace for a new feature branch named 'feature/my-new-feature'.