hmj1026

Git Worktree — Git skill for Claude Code

Git community

Manage git worktrees — create, list, remove, parallel branch development.

How to install Git Worktree

Installs to ~/.claude/skills/hmj1026-dhpk-git-worktree/SKILL.md

Terminal
mkdir -p ~/.claude/skills/hmj1026-dhpk-git-worktree && curl -fsSL https://raw.githubusercontent.com/hmj1026/dhpk/HEAD/commands/git-worktree.md -o ~/.claude/skills/hmj1026-dhpk-git-worktree/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Git Worktree does


description: 'Manage git worktrees — create, list, remove, parallel branch development' argument-hint: '[add|list|remove|prune] [--branch ] [--base ]' allowed-tools: 'Bash(git:*), Read, Grep, Glob' metadata: dhpk-invocation-class: implicit-eligible

Contract

Use for worktree lifecycle operations; do not remove or prune a worktree without confirmation. See the [command contract](../docs/agent-guidance/command-contract.md). Stop when a branch/path is missing or dirty; comp

Alternatives in Git

Full documentation available on GitHub

View Source Repository