Change Git stash message

CharlesB picture CharlesB · Nov 14, 2011 · Viewed 17.6k times · Source

I have a stash saved for the future that I want to give a meaningful name. While it's possible to pass a message as argument to git stash save, is there a way to add a message to an existing stash?

Answer

yibe picture yibe · Nov 14, 2011

You can directly edit the messages stored in .git/logs/refs/stash.

I know it's probably not ideal, but should work anyway.