Merge the source bookmark into the target bookmark. The target bookmark is advanced to the merge result.
Documentation Index
Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Organization slug
1Repository name
1The bookmark being merged into. Usually main. This bookmark is updated to the resulting merge point.
1The bookmark that has changes to merge into target.
1Whether to delete the source bookmark after a successful merge
When true, a merge that produces textual conflicts is accepted and the target bookmark is moved to a conflicted merge commit. When false (default), the merge is rejected server-side with MERGE_CONFLICT and nothing is persisted.
Description for the resulting merge change. Omit to use the generated merge description; empty string is allowed and means no description.
Caller-supplied conflict resolutions, applied before conflict detection. Each resolution targets one path — either the full file (content) or a set of per-hunk replacements (hunks). A resolution set that covers every otherwise-conflicting path lets an initially-rejected merge succeed on retry without setting allow_conflicted.
A single caller-supplied resolution. Whole-file variants carry content OR take (not both); per-hunk variants carry hunks. Whole-file replaces the merged content at path. Per-hunk requires all hunks for the path to be resolved.
Merge result
The type of merge that was performed. no_op when target and source point to the same commit; merge_commit otherwise — every divergent merge creates an explicit merge commit (JJ model).
merge_commit, no_op The commit OID the target bookmark now points to
^[0-9a-f]{40}$The JJ change ID the target bookmark points to after the merge.
^[zyxwvutsrqponmlk]{32}$The target bookmark that was merged into
The source bookmark that was merged from
Whether the source bookmark was deleted after merge