---
title: "Changes to Get commit comparison information"
method: GET
path: "/repos/{owner}/{repo}/compare/{basehead}"
---

# Changes to Get commit comparison information

`GET /repos/{owner}/{repo}/compare/{basehead}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 16 revisions.

- **2026-10-28** `7ef50c4c527f`: 2 info
- **2026-10-07** `b0b1b4890863`: 2 info
- **2026-07-13** `4df6be504c96`: 2 info

## Changes

- **2026-10-28** `7ef50c4c527f`: 2 info
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `404`
- **2026-10-07** `b0b1b4890863`: 2 info
  - added the new optional `query` request parameter `files`
  - added the new optional `query` request parameter `verification`
- **2026-07-13** `4df6be504c96`: 2 info
  - added the new optional `query` request parameter `output`
  - added the non-success response with the status `400`

---

[Operation](https://skmtc.dev/gitea/apis/gitea-api/docs/repos/:owner/:repo/compare/:basehead/get.md) - [API](https://skmtc.dev/gitea/apis/gitea-api.md) - [Page](https://skmtc.dev/gitea/apis/gitea-api/changes/repos/:owner/:repo/compare/:basehead/get)
