Peek at your git stash

Written on August 3, 2015

I use git stash when I’m not quite ready to commit work but need to pull in the latest changes from a remote repo. This command allows you to peek into what you’ve stashed away in git:

git stash show -p

This stash command is definitely helpful as sometimes I forget I’ve got anything stashed away or if a lot of time has passed, what the contents of the stash was.

Stay in touch

Thanks for reading this article. I'd love to stay in touch and share articles like this one in your inbox. Sign up for my newsletter.