Error code

These refs cannot be merged

The source and target are the same branch, or share no history to merge from.

Ø100 · 20 teethfree one way, locked the otherABC
Fig. 03 Ratchet and pawlThe wheel turns freely one way, and the pawl stops it turning back.
Code
CANNOT_MERGE
Management API
400

What to do

Merge two different branches that share an ancestor.

The response

Every refusal is an application/problem+json document. Its detail says what went wrong in that request; its type is this page.

{
  "code": "CANNOT_MERGE",
  "type": "https://coho-cms.com/errors/cannot-merge",
  "title": "These refs cannot be merged",
  "status": 400,
  "detail": "What went wrong in this request, in a sentence.",
  "instance": "/v1/projects/…"
}

Every code

The error codes, in a table with a filter.