Show all stashes in git log

jbialobr picture jbialobr · Feb 20, 2013 · Viewed 30.8k times · Source

I would like to see all stashes in git log output. Does anyone know if there is a way to do that?

Edit: I want to log all commits. I use the command

git log --date-order --all

But it returns only the top most stash. I would like to see commits that represent other stashes.

Answer

mgarciaisaia picture mgarciaisaia · Feb 20, 2013

You can show all your stashes with git stash list. Maybe you can write a script to show both git stash list and git log and use it with an alias.