git recover stash code example
Example 1: how to undo a git stash
git stash apply
Example 2: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.
Example 3: git stash back
git stash pop
Example 4: how to get stashed on git
git stash pop
Example 5: how to get stashed on git
git stash pop or
git stash apply
Example 6: get previous git stash
git fsck --unreachable | grep commit | cut -d ' ' -f3 | xargs git log --merges --no-walk