Git Worktree

Installation
SKILL.md

Git Worktree Management

Manage git worktrees stored in ~/.git-worktrees/<repo>/<branch>, keeping them out of the user's project directories.

Determining Context

Before any operation, determine the repository name:

repo=$(basename "$(git rev-parse --show-toplevel)")

The worktree base directory is always ~/.git-worktrees/$repo/.

Commands

Create (default)

If the user provides just a branch name, treat it as a create operation.

Installs
Repository
caidanw/skills
GitHub Stars
1
First Seen
Git Worktree — caidanw/skills