Back to all tips

Git Noob Tips

Stash Message

🗓️ Published: 5/20/2022

Git stash is a place to store your unfinished work to do things like changing the branch or pulling the latest changes. Then one can pop the changes and continue working.

Although the stash is designed not to become too large, it might. I usually end up having 20 different stashed changes and not knowing what is what and finally dropping them all.

This can be avoided by adding a message to your stash:

git stash push -m <message>

Then, when you want to look at your stash, you also see the messages:

git stash list

Discuss this tip on