git_stash
Temporarily shelve changes in a working directory so you can switch branches or apply them later. Supports naming stashes and including untracked or staged-only changes.
Instructions
Stash the changes in a dirty working directory (git stash).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | The directory to run git stash in | |
| include_untracked | No | When true, include untracked files in the stash. | |
| name | No | Optional name for the stash (used as the stash message) | |
| staged_only | No | When true, stash only the currently staged changes and leave unstaged work untouched. |