v1
latestSwagger 2.02026-07-175445133.1 KBgit
Check sync conflicts
Checks if syncing a worktree would cause merge conflicts
get/v1/git/worktrees/{id}/sync/check
Path parameters
idstring required
Worktree ID
Response
OK
Example response
{
"conflict_files": [
"[\"src/main.go\"",
" \"README.md\"]"
],
"has_conflicts": true,
"message": "No conflicts detected",
"operation": "sync",
"worktree_name": "feature-branch"
}