gitStash
Temporarily stash modified and untracked files to get a clean working directory, allowing branch switches without losing progress.
Instructions
Stash current changes to get a clean working tree. Required before switching branches with uncommitted changes. Use gitStashPop to restore. Pass includeUntracked: true to also stash new files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Optional description for the stash entry | |
| includeUntracked | No | Also stash untracked (new) files. Default: false. |