v1

latestOpenAPI 3.1.12026-07-17124229467.0 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