---
title: "git/reset"
method: POST
path: "/api/git/reset"
tags: ["git"]
---

# git/reset

`POST /api/git/reset`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/git/reset`
- Auth: none declared

Discard local changes Performs a hard reset on the current branch, discarding any local changes.

## Response `200`

Reset complete

- object

## Changes

- **2026-10-19** `eab32b805396`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/falconchristmas/apis/fpp-api/changes/api/git/reset/post.md)

---

[API](https://skmtc.dev/falconchristmas/apis/fpp-api.md) - [All operations](https://skmtc.dev/falconchristmas/apis/fpp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/falconchristmas/apis/fpp-api/revisions/1b633540718c?raw)
