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
git stash - allows you to switch branches without having to commit half done work. It doesn't delete it it just temporarily "stashes" the code away. | |
git stash list- show you a list of all the code that's been stashed | |
git stash apply - allows you to retrieve the previously stashed code. apply defaults to the latest stashed code, but you can specify the name of the stash you want to reapply. like so: | |
``` | |
git stash apply stash@{2} | |
``` |