v52

latestOpenAPI 3.1.1raw.githubusercontent.com2026-08-06146175447.7 KB

Create worktree

Create a new git worktree for the current project and run any configured startup scripts.

post/experimental/worktree

Query parameters

directorystring

Request body

namestring
startCommandstring

Additional startup script to run after the project's start command

Response

Worktree created

namestring required
branchstring required
directorystring required