Viewing the content of the last Git stash
Published on 2021-01-16 • Modified on 2021-01-16
It's more a note than a snippet, but I wanted to have it at my disposal as I always forget. Also note that to delete the last stash you can use git stash drop
.
git stash show -p
# If your remove "-p" you will see the modified files and the changes summary only.
# "git stash drop" removes the last stash
More on Stackoverflow Random snippet
Call to action
Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )
- Report any error/typo.
- Report something that could be improved.
- Like and repost!
- Follow me on Bluesky 🦋
- Subscribe to the RSS feed.
- Click on the More on Stackoverflow buttons to make me win "Announcer" badges 🏅.
Thank you for reading! And see you soon on Strangebuzz! 😉