Skip to main content
Glama

Git MCP Server

stash_pop

Apply and remove a Git stash to restore changes in a repository. Specify the stash index and repository path to manage stored modifications efficiently.

Instructions

Apply and remove a stash

Input Schema

NameRequiredDescriptionDefault
indexNoStash index
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)

Input Schema (JSON Schema)

{ "properties": { "index": { "default": 0, "description": "Stash index", "type": "number" }, "path": { "description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" } }, "required": [], "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/cyanheads/git-mcp-server'

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