---
title: "Push local commits to the remote repository"
method: POST
path: "/version/push"
tags: ["versioning"]
---

# Push local commits to the remote repository

`POST /version/push`

Push all local commits from the local repository to the remote repository.<br/><br/>Requires at least one local commit that has not been pushed. Returns an error if the remote repository cannot be reached or the push is rejected.

## Response `200`

The created string object in a single-item list.

- CountedString
  - `count` integer, required — number of items present in the items array
  - `items` string[], required — List of items in this response.

## Other responses

- `401` — Authentication failed (missing or invalid credentials or Bearer token).
- `500` — Unexpected server error.

## Changes

- **2026-07-21** `e9bef570d106` — 6 info
  - added the media type `application/json` for the response with the status `401`
  - added the optional property `details` to the response with the `500` status
  - the response property `count` became required for the status `200`
  - the response property `items` became required for the status `200`
  - …2 more
- **2025-10-23** `446f13dcf6da` — 1 breaking
  - the `items/items/` response's property type/format changed from `object`/`` to `string`/`` for status `200`
- **2025-10-10** `263fc2a93add` — 1 breaking
  - the `items/items/` response's property type/format changed from `string`/`` to `object`/`` for status `200`
- **2025-10-09** `44245bdb7885` — 1 breaking
  - the `items/items/` response's property type/format changed from `object`/`` to `string`/`` for status `200`

[Change history](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/version/push/post.md)

---

[API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.dev/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/revisions/56cb25079271/schema)
