git

Create worktree preview

Creates a preview branch in the main repo for viewing changes outside container

post/v1/git/worktrees/{id}/preview

Path parameters

idstring required

Worktree ID

Response

OK

idstring

Worktree ID

messagestring

Operation result message

strategystring

Strategy used for sync operations

Example response

{
  "id": "abc123-def456-ghi789",
  "message": "Worktree deleted successfully",
  "strategy": "rebase"
}

Changes

No recorded changes to this endpoint across all 50 revisions of this API.