---
title: "Changes to Update a stack's Git configs"
method: POST
path: "/stacks/{id}/git"
---

# Changes to Update a stack's Git configs

`POST /stacks/{id}/git`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 21 revisions.

- **2026-07-22** `b84d30fccc3b`: 1 info

## Changes

- **2026-07-22** `b84d30fccc3b`: 1 info
  - added the optional property `GitConfig/allOf[#/components/schemas/gittypes.RepoConfig]/Authentication/allOf[#/components/schemas/gittypes.GitAuthentication]/GitCredentialID` to the response with the `200` status

---

[Operation](https://skmtc.dev/portainer/apis/portainerce-api/docs/stacks/:id/git/post.md) - [API](https://skmtc.dev/portainer/apis/portainerce-api.md) - [Page](https://skmtc.dev/portainer/apis/portainerce-api/changes/stacks/:id/git/post)
