recover git stash code example
Example 1: git stash apply specific stash
git stash apply "stash@{n}"
or
git stash apply n
Example 2: how to undo a git stash
git stash apply
Example 3: git stash back
git stash pop
Example 4: how to get stashed on git
git stash pop
Example 5: recover git stash clear
git fsck --unreachable |
grep commit | cut -d\ -f3 |
xargs git log --merges --no-walk --grep=WIP
Example 6: how do you come back after git stash
how to come back after git stash