Profile
Sign out
menu
create
New Post
My learned
Sign In
View code saved on last stash
Git
To view the code from your
last git stash
without applying it, use the following command:
git stash show -p
What does it do?
git stash show
displays a summary of the stash.
-p
(or
--patch
) shows the
full diff
of what was stashed — similar to what you'd see in a
git diff
.
arrow_back
back