---
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.

---

[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)
