stash_save
Save uncommitted changes to a Git stash with a custom message. Optionally include untracked files, preserve staged changes, or add ignored files for flexible repository management.
Instructions
Save changes to stash
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Include ignored files | |
| includeUntracked | No | Include untracked files | |
| keepIndex | No | Keep staged changes | |
| message | No | Stash message | |
| path | No | Path 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"
}