Get the creation date of a stash

Jason picture Jason · Mar 21, 2013 · Viewed 33k times · Source

Is there a way to tell when a stash was created?

git stash list only lists the stashes, and git stash show XXXXXX shows all the files and changes, but not the date of the stash creation.

Answer

Igor picture Igor · Mar 21, 2013

Try:

git stash list --date=local

It should print something like:

stash@{Thu Mar 21 10:30:17 2013}: WIP on master: 2ffc05b Adding resource