Worktree

Create an isolated git worktree from the correct base branch and check it out into a clean, gitignored directory. Use when the user asks to make a worktree, spin up a parallel/isolated workspace, work on something without disturbing the current checkout, branch off the current work, or run multiple agents on the same repo at once. Picks the base branch smartly — the current feature branch when you are on one, otherwise the repository's default/trunk branch — so worktrees continue your in-progress work by default instead of forking from the wrong place.

shipshitdev 1d59509 2 files · 10.1 KB Updated

File contents

shipshitdev/skills/tree/main/skills/worktree commit 1d595098e7

Frequently asked questions

npx skillmds add shipshitdev/worktree