Use Worktree

Create an isolated Git worktree and run repository setup.

Andiedie Updated

File contents

Create .worktrees/<name> and a same-named branch from the current HEAD. Use the caller's name, or generate a legal random name.

Run the repository's recorded setup in the new worktree. If setup fails, keep the worktree and branch.

Andiedie/skills commit 9d1d7c8fe3

Frequently asked questions

npx get-skill add andiedie/use-worktree