---
title: "Changes to Merge a branch from upstream"
method: POST
path: "/repos/{owner}/{repo}/merge-upstream"
---

# Changes to Merge a branch from upstream

`POST /repos/{owner}/{repo}/merge-upstream`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 14 revisions.

- **2026-10-28** `7ef50c4c527f`: 3 info
- **2026-10-07** `b0b1b4890863`: 1 info
- **2025-05-20** `4ff3544d6eb3`: 1 info

## Changes

- **2026-10-28** `7ef50c4c527f`: 3 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `409`
- **2026-10-07** `b0b1b4890863`: 1 info
  - added the non-success response with the status `409`
- **2025-05-20** `4ff3544d6eb3`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/gitea/apis/gitea-api/docs/repos/:owner/:repo/merge-upstream/post.md) - [API](https://skmtc.dev/gitea/apis/gitea-api.md) - [Page](https://skmtc.dev/gitea/apis/gitea-api/changes/repos/:owner/:repo/merge-upstream/post)
