git-worktrees

Create, list, switch, and remove Git worktrees for parallel branch development.

2|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Wilder1222/superomni --skill git-worktrees-wilder1222
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktrees
Source: https://github.com/Wilder1222/superomni/tree/main/skills/git-worktrees
Command: npx skills add https://github.com/Wilder1222/superomni --skill git-worktrees-wilder1222

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when working on multiple features or branches simultaneously. Git worktrees allow multiple branches to be checked out at the same time.

Core Features & Use Cases

  • Enables simultaneous development across multiple branches without stash or checkout churn.
  • Supports creating, listing, and removing worktrees with clear naming conventions.
  • Useful for code reviews on a colleague's branch while your own feature advances.

Quick Start

Create a new worktree for a feature branch and switch between worktrees as your project requires.

Frequently Asked Questions about git-worktrees

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

FAQPage Schema
How do I work on multiple Git branches at the same time?

Git worktrees allow you to check out multiple branches in separate directories simultaneously, enabling parallel development across multiple branches without stash or checkout churn.

What is the best way to review a colleague's branch while keeping my own feature changes?

Using a Git worktree is the best way to review a colleague's branch while keeping your own feature changes, allowing you to concurrently develop or review multiple features in separate directories.

Can I create and manage Git worktrees with specific naming conventions?

Yes, you can create and manage Git worktrees with specific naming conventions, supporting creation, listing, switching, and cleanup of worktrees to organize parallel development.

How do I hotfix a production branch alongside my current feature development?

To hotfix a production branch alongside feature development, use a Git worktree to concurrently check out the production branch in a separate directory, allowing you to apply hotfixes without stashing current work.

Does working with parallel worktrees require any special dependencies?

Working with parallel Git worktrees requires no special dependencies beyond the standard Git installation, satisfying standard Git workflows by enabling multiple branch checkouts natively.

When should I avoid using Git worktrees for branch management?

You should avoid using Git worktrees for branch management if your workflow rarely involves concurrent development or cross-branch testing, as the overhead of managing multiple directories outweighs the benefit of avoiding stash or checkout churn.