git stash save <message>

Stash changes with a custom message

The git stash save command allows you to temporarily save changes in the working directory that are not ready to be committed. It creates a new stash entry with a given <message> which describes the changes.



Some potential variations of this command include:

- git stash save without specifying a <message> will generate a default message based on the changes being stashed.
- git stash save -p allows you to selectively stash specific changes by interactingively choosing which parts of the changes to include.
- git stash save --no-keep-index or git stash save -u includes untracked files in the stash as well.

Specific examples:
git stash save "improved navigation"

Sign in to enable bookmarking, reminders, progress-tracking and more...