v15

latestOpenAPI 3.1.1raw.githubusercontent.com2026-06-05137173413.9 KB

Create worktree

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

post/experimental/worktree

Query parameters

directorystring
workspacestring

Request body

namestring
startCommandstring

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

Response

Worktree created

namestring required
branchstring required
directorystring required