Skip to main content
Glama

Unrestricted Development MCP Server

git_revert

Revert a Git commit by creating a new commit that undoes the changes. Apply changes without committing when needed to manage repository history effectively.

Instructions

Revert a commit by creating a new commit

Input Schema

NameRequiredDescriptionDefault
commitYesCommit hash to revert
cwdNoRepository directory
noCommitNoApply changes without committing

Input Schema (JSON Schema)

{ "properties": { "commit": { "description": "Commit hash to revert", "type": "string" }, "cwd": { "description": "Repository directory", "type": "string" }, "noCommit": { "default": false, "description": "Apply changes without committing", "type": "boolean" } }, "required": [ "commit" ], "type": "object" }

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/ConnorBoetig-dev/mcp2'

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