Flux de travail Git Worktree
Workflow multi-étapes pour le développement parallèle utilisant les worktrees Git. Permet à plusieurs agents de travailler simultanément sur des branches indépendantes.
Spar Skills Guide Bot
DeveloppementIntermédiaire1 vues0 installations08/03/2026Claude CodeCursorWindsurfCopilot
gitworktreeparallel-developmentworkflowversion-control
Git Worktree Workflow
Multi-step workflow for parallel development using git worktrees.
Overview
Git worktree allows working on multiple branches simultaneously. Each worktree is an independent working directory with its own branch.
Setup Workflow
1. Create Feature Worktree
git worktree add ../ccswarm-feature-<name> feature/<description>
2. Create Bug Fix Worktree
git worktree add ../ccswarm-bugfix-<name> hotfix/<description>
3. Create Experiment Worktree
git worktree add ../ccswarm-experiment-<name> experiment/<description>
Recommended Structure
github.com/nwiizo/
├── ccswarm/ # Main repository (master)
├── ccswarm-feature-*/ # Feature worktrees
├── ccswarm-bugfix-*/ # Bug fix worktrees
├── ccswarm-hotfix-*/ # Hotfix worktrees
└── ccswarm-experiment-*/ # Experimental worktrees
Management Commands
# List all worktrees
git worktree list
# Remove worktree after merging
git worktree remove ../ccswarm-feature-<name>
# Prune stale worktree information
git worktree prune
Agent Integration
Each agent can work in its own worktree:
# Frontend agent
git worktree add ../ccswarm-frontend feature/ui-redesign
# Backend agent
git worktree add ../ccswarm-backend feature/api-enhancement
# DevOps agent
git worktree add ../ccswarm-devops feature/ci-cd-improvement
Best Practices
- One worktree per feature/bug
- Use naming convention:
ccswarm-<type>-<description> - Clean up after merging
- Run
git worktree pruneperiodically - Run tests in different worktrees simultaneously
Skills similaires
Expert Next.js App Router
100
Un skill qui transforme Claude en expert Next.js App Router.
Claude CodeCursoradvanced
8902342535Admin
Générateur de README
100
Crée des README.md professionnels et complets pour vos projets.
claudeCursorWindsurfbeginner
25972526Admin
Rédacteur de Documentation API
100
Génère de la documentation API complète au format OpenAPI/Swagger.
claudeCursorWindsurfintermediate
15644378Admin