Picture of Michael Lee
:wave: Hey hey, I'm @michaelsoolee! I'm a full-stack developer, maker of one too many side projects and dad.

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 more tips on programming, design and side projects with you. Sign up and I'll send you my articles straight to your email.