Stashing
Save uncommitted changes for later use.
Navigation
Press 3 to focus on the Stash panel.
Keybindings
| Key | Action | Context |
|---|---|---|
s | Stash File | From Modified Files |
S | Stash All | From Modified Files |
space | Apply Stash | From Stash Panel |
backspace | Pop Stash | From Stash Panel |
d | Drop Stash | From Stash Panel |
Workflows
Creating a Stash
- Focus: Navigate to Modified Files (
2). - Trigger:
- Press
sto stash only the selected file. - Press
Sto stash all files.
- Press
- Popup: "Stash Message". Enter a descriptive name for your stash.
- Submit: Press
enter.
Managing Stashes
- Focus: Navigate to Stash (
3). - Apply: Select a stash and press
space.- Applies changes but keeps the stash in the list.
- Pop: Select a stash and press
backspace.- Applies changes and removes the stash from the list.
- Drop: Select a stash and press
d.- Permanently deletes the stash.