v1
latestSwagger 2.02026-07-175445133.1 KBgit
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
Example response
{
"id": "abc123-def456-ghi789",
"message": "Worktree deleted successfully",
"strategy": "rebase"
}