[Git] Add a message when creating a stash

Created on November 30, 2026

Use git stash push -m to label a stash. This example assumes the working tree has changes to save.

git stash push -m "update config"
Saved working directory and index state On main: update config

Use git stash list to see the message.

git stash list
stash@{0}: On main: update config

Descriptive messages help you identify the right entry when you have several stashes.

Git