# CANNOT_MERGE: These refs cannot be merged

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

Sent by the management API (400). The page: https://coho-cms.com/errors/cannot-merge/

## What to do

Merge two different branches that share an ancestor.

## The response

```json
{
  "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 error code: https://coho-cms.com/errors/
