Skip to main content
Glama

git MCP server

Official

git_reset

Reset staged changes in a Git repository to unstage all modifications. Specify the repository path to revert to the last commit state and clear the staging area.

Instructions

Unstages all staged changes

Input Schema

NameRequiredDescriptionDefault
repo_pathYes

Input Schema (JSON Schema)

{ "properties": { "repo_path": { "title": "Repo Path", "type": "string" } }, "required": [ "repo_path" ], "title": "GitReset", "type": "object" }

You must be authenticated.

Other Tools from git MCP server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/modelcontextprotocol/git'

If you have feedback or need assistance with the MCP directory API, please join our Discord server