Last active
June 24, 2025 12:37
-
-
Save kevinhooke/e20d29015932e7d481055c49bb09ac36 to your computer and use it in GitHub Desktop.
Reviewing git stash changes without applying, and selective checkout from stash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To review changes stashed (git stash push) without retrieving from stash: | |
What files have changed: | |
- git stash show | |
View diffs on stashed changes (patch): | |
- git stash show -p | |
To checkout a single file from the latest {0} stash (change number to reference other stashes if not latest) | |
- git checkout stash@{0} -- <filename> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment