Base a worktree on a specific branch
worktrees & cloud
// what it does
--worktree-base sets the branch or ref the new worktree starts from; it defaults to the current HEAD. Pair it with -w to spin an isolated checkout off, say, main while you sit on a feature branch. --skip-worktree-setup skips the setup scripts defined in .cursor/worktrees.json.
// shell
$ cursor-agent -w hotfix --worktree-base main$ cursor-agent -w spike --skip-worktree-setup