Last active
May 3, 2020 17:24
-
-
Save JosephineAkello/49f7d06d82466cf30a023b904b56089b to your computer and use it in GitHub Desktop.
Getting a list of previous git stashes
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
To recover previous git stashes, follow these commands to bring back work in different branches | |
$git stash list - shows git stashes lists | |
$git stash pop stash{0} - to reference a specific stash in the list to get the list of previous stashes | |
$git stash show - inspects the current stash list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment