Picture of Michael Lee
:wave: Hey hey, I'm Michael Lee and this is my site about being a developer, being a dad and making side projects.

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.

Thanks for taking the time to read this article. I'd love to stay in touch and share more tips on programming and design and side projects. Sign up and I'll send you my articles straight to your email.