---
title: "Publish to a named remote/branch"
method: POST
path: "/git/publish"
tags: ["Git"]
---

# Publish to a named remote/branch

`POST /git/publish`

## Request body

- object
  - `remote` string, required
  - `branch` string, required

## Response `200`

Success

---

[API](https://skmtc.net/materiahq/apis/materia-server.md) · [All operations](https://skmtc.net/materiahq/apis/materia-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/materiahq/materia-server/versions/f4e80651bb93/schema)
