stash_pop
Apply and remove a Git stash from a specified repository path using the stash index. Part of the Git MCP Server, enabling enhanced Git operations for efficient repository management.
Instructions
Apply and remove a stash
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Stash index | |
| path | No | Path 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"
}