Created
May 17, 2018 08:08
-
-
Save ethaizone/3cfaefdaba845c337ffca8443615b337 to your computer and use it in GitHub Desktop.
Save working space by git stash then make patch file for apply later.
This file contains 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
# Credit: https://stackoverflow.com/questions/3973034/export-a-stash-to-another-computer | |
# First just stash your working space | |
git stash | |
# Maybe you need check your stash which file that have right now. | |
git stash show | |
git stash show -p | |
# Create patch file from whole your stash | |
git stash show -p > your_patch.patch | |
# Later if you need to apply patch back to working space | |
git apply your_patch.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment