Git MCP Server

by cyanheads
Verified

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

ID: e0hyslgby6