Skip to main content
POST
Create worktree

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Body

application/json
path
string
required

Worktree path

branch
string
required

Branch name

createBranch
boolean
default:false

Create new branch

Response

Worktree created

success
boolean
required
data
object