using-git-worktrees

Solid

Use when starting feature work that needs isolation from current workspace or before executing implementation plans.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
37
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Using Git Worktrees ## Overview Create isolated workspaces sharing the same repository. Systematic directory selection + safety verification. **Core principle:** Isolated workspace before implementation. ## Process 1. Check existing directories (.worktrees/ or worktrees/) 2. Verify directory is gitignored 3. Create worktree with new branch 4. Run project setup (auto-detect npm/cargo/pip/go) 5. Verify clean test baseline 6. Report ready ## Safety - Always verify worktree directory is gitignored - Always run baseline tests - Report failures before proceeding ## Agents Used - Process agents referenced in `superpowers-workflow.js` ## Tool Use Referenced by `executing-plans` and `subagent-driven-development` processes.

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills