Created
November 8, 2011 14:43
-
-
Save dsci/1347914 to your computer and use it in GitHub Desktop.
Git stash overview
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
# put current stuff to the stash | |
git stash | |
# list items of your stash | |
git stash list | |
# apply the last changes from your stash | |
git stash apply | |
# apply specific changes from your stash ( get which one you want from git stash list ) | |
git stash apply stash@{1} | |
# remove the first one from the stack | |
git stash pop | |
# remove something from your stash | |
git stash drop<id> | |
# Enough ? Well, removed it all. | |
git stash clear | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment