using-git-worktrees

Create isolated Git worktrees with automatic directory selection and safety checks.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/mealpac/manus --skill using-git-worktrees-mealpac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/mealpac/manus/tree/main/skills/automation-skills/using-git-worktrees
Command: npx skills add https://github.com/mealpac/manus --skill using-git-worktrees-mealpac

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Starting feature work can pollute the main workspace. This Skill creates isolated git worktrees with smart directory selection and safety verification to keep work in a clean, reversible isolation.

Core Features & Use Cases

  • Isolated worktrees per feature to keep development clean and reversible
  • Automatic directory selection with project-local and global options
  • Safety checks to ensure ignored paths and baseline integrity before proceeding

Quick Start

Create an isolated git worktree for your feature branch and switch into the new workspace.

Frequently Asked Questions about using-git-worktrees

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate feature work from my main git workspace?

To isolate feature work from your main git workspace, you can create a git worktree. This Skill automates worktree creation with smart directory selection and safety verification to keep development clean and reversible.

What is a git worktree and when do I need isolated workspaces?

A git worktree is a linked working directory that lets you manage multiple branches simultaneously. You need isolated workspaces for parallel feature development, debugging, and experiment isolation without polluting the main project directory.

How do I set up parallel feature development across multiple branches?

Set up parallel feature development by creating an isolated git worktree for each branch. This automates project name detection, prioritizes directory choices, and performs post-creation setup verification for safe multi-branch workflows.

Does git worktree creation verify gitignore and baseline integrity?

Yes, git worktree creation verifies gitignore and baseline integrity. The process implements safety checks for ignored paths and baseline integrity before proceeding to ensure your isolated workspace starts clean.

Can I use project-local and global options for worktree directory selection?

Yes, you can use project-local and global options for worktree directory selection. The automation prioritizes directory choices and detects project names automatically, while also respecting CLAUDE.md preferences for configuration.

What are the limitations of using git worktrees for branching workflows?

When using git worktrees for branching workflows, you must ensure ignored paths are correctly configured before creation. While reversible, unverified baseline integrity or incorrect directory choices can disrupt the isolation of your feature work.