v1

latestSwagger 2.02026-07-175445133.1 KB
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"
}