Skip to main content
Glama

git-stash

Temporarily store uncommitted changes to switch branches or tasks, then restore them later using stash, pop, apply, list, show, drop, or clear operations.

Instructions

Git stash tool for temporary changes management. Supports stash, pop, apply, list, show, drop, clear operations for storing and retrieving work-in-progress changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe stash operation to perform
includeUntrackedNoInclude untracked files when stashing
indexNoTry to reinstate index changes when applying/popping
keepIndexNoKeep index unchanged when stashing
messageNoStash message (for stash operation)
onelineNoShow stash list in oneline format
patchNoInteractive patch mode for selective stashing
projectPathYesAbsolute path to the project directory
quietNoSuppress output during stash operations
stashRefNoStash reference (e.g., "stash@{0}", "0") for pop, apply, show, drop operations

Latest Blog Posts

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/Andre-Buzeli/git-mcp'

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