Search code examples
gitgit-stash

Get the creation date of a stash


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.


Solution

  • 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