Git Worktree Management

•
118
•

Simplifies Git worktree lifecycles by managing isolated development environments created by AI subagents.

This skill enables Claude to efficiently manage Git worktrees, providing a streamlined workflow for handling parallel development tasks in isolated directories. It allows users to list active worktrees with commit status, prune stale entries, and seamlessly merge completed work back into the main branch. This is particularly useful for complex projects using multiple AI subagents for concurrent coding tasks, ensuring that environment isolation is maintained without manual overhead.

주요 기능

01Integrates work from subagent trees via cherry-pick or merge
02Automates cleanup of worktree directories after successful integration
03Lists active Git worktrees with detailed commit history and status
04Supports isolation patterns specifically designed for AI-driven development
05Prunes stale or orphaned worktrees to maintain a clean repository
06118 GitHub stars

사용 사례

01Integrating experimental code from a detached worktree back into the main repository
02Managing multiple concurrent feature branches using isolated AI subagents
03Cleaning up temporary development environments after code review or testing