git restore deleted stash code example
Example 1: get previous git stash
git fsck --unreachable | grep commit | cut -d ' ' -f3 | xargs git log --merges --no-walk
Example 2: recover git stash clear
git fsck --unreachable |
grep commit | cut -d\ -f3 |
xargs git log --merges --no-walk --grep=WIP