Created
March 16, 2022 14:22
-
-
Save gnthibault/bb90948ea5c3519c5c43d037a5418b03 to your computer and use it in GitHub Desktop.
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
# From https://stackoverflow.com/a/64716636/2697831 | |
#A stash entry is a special ref that points to a commit. So you can simply tag the commit. | |
git stash push -m "debug" | |
# after "git stash", tag the last entry | |
git tag debug stash@{0} | |
# later use the tag name | |
git stash apply debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment