Using Git Worktrees

Safely create and use isolated Git worktrees, then review and land their changes without disturbing the parent checkout. Detect existing isolation, confirm branch and location, preserve dirty work, respect project setup, keep changes unstaged for review, obtain commit approval, rebase and fast-forward when required, and clean up only with approval. Use whenever the user asks for a worktree or isolated workspace, wants substantial work kept separate, or repository instructions require tracked edits in a worktree.

voidverse-xyz ce9b861 14.0 KB Updated

File contents

voidverse-xyz/.pi/tree/main/skills/using-git-worktrees commit ce9b861d60

Frequently asked questions

npx skillmds@latest add voidverse-xyz/using-git-worktrees