v1
latestSwagger 2.02026-07-175445133.1 KBgit
Merge worktree to main
Merges a local repo worktree's changes back to the main repository
post/v1/git/worktrees/{id}/merge
Path parameters
idstring required
Worktree ID
Request body
object required
Response
OK
Example response
{
"id": "abc123-def456-ghi789",
"message": "Worktree deleted successfully",
"strategy": "rebase"
}