git stash - Save and view custom messages

1

I'm doing a git stash in which I keep a personalized message:

git stash save 'mi mensaje'

I'm trying to read that message.

I can use:

git stash show

and so I can see a list of the saved files. If I use it in the following way:

git stash show -1

I get a diff of those files, but not the message.

How can I see the message?

    
asked by Orici 25.05.2018 в 11:07
source

1 answer

1

To see the list with all the changes saved provisionally, use the command:

git stash list

With it appear the personalized messages (if any) and the number of each saved. you can see only the last one indicating the number 1:

git stash list -1
    
answered by 25.05.2018 в 11:07