Skip to content

Instantly share code, notes, and snippets.

@JosephineAkello
Last active May 3, 2020 17:24
Show Gist options
  • Save JosephineAkello/49f7d06d82466cf30a023b904b56089b to your computer and use it in GitHub Desktop.
Save JosephineAkello/49f7d06d82466cf30a023b904b56089b to your computer and use it in GitHub Desktop.
Getting a list of previous git stashes
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