Use Worktree

Create an isolated Git worktree and run repository setup.

Andiedie 9d1d7c8 2 files · 378 B 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/tree/main/skills/use-worktree commit 9d1d7c8fe3

Frequently asked questions

npx skillmds@latest add andiedie/use-worktree