What problem does it solve?
This Skill allows users to create isolated Git worktrees for feature development, ensuring workspace isolation and preventing conflicts with other branches.
Core Features & Use Cases
- Isolated Workspaces: Create separate workspaces for each feature branch, preventing merge conflicts and preserving codebase integrity.
- Safety Verification: Ensures that worktree directories are ignored by Git, minimizing the risk of accidental commits.
- Environment and Project Setup: Automates the copying of environment files and the setup of project dependencies (e.g., Go modules, Python virtual environments).
- Testing: Provides a quick verification that the new worktree is set up correctly and ready for development.
- Quick Reference Guide: Offers a concise guide for creating, using, and removing worktrees.
Quick Start
To create a new worktree for a feature branch named 'feature-x', run:
using-git-worktrees create .worktrees/feature-x -b feature-x