Git MCP Server

by cyanheads
Verified

stash_save

Save local changes in a Git repository to a stash, including optional untracked files, ignored files, or staged changes, with a customizable message for easy retrieval later using the Git MCP Server.

Instructions

Save changes to stash

Input Schema

NameRequiredDescriptionDefault
allNoInclude ignored files
includeUntrackedNoInclude untracked files
keepIndexNoKeep staged changes
messageNoStash message
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)

Input Schema (JSON Schema)

{ "properties": { "all": { "default": false, "description": "Include ignored files", "type": "boolean" }, "includeUntracked": { "default": false, "description": "Include untracked files", "type": "boolean" }, "keepIndex": { "default": false, "description": "Keep staged changes", "type": "boolean" }, "message": { "description": "Stash message", "type": "string" }, "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