v1
latestSwagger 2.02026-07-175445133.1 KBgit
Sync worktree with source branch
Syncs a worktree with its source branch using merge or rebase strategy
post/v1/git/worktrees/{id}/sync
Path parameters
idstring required
Worktree ID
Request body
object required
Response
OK
Example response
{
"id": "abc123-def456-ghi789",
"message": "Worktree deleted successfully",
"strategy": "rebase"
}