clear all git stashes code example
Example 1: stash clear list
git stash clear // to clear the whole list
Example 2: recover git stash clear
git fsck --unreachable |
grep commit | cut -d\ -f3 |
xargs git log --merges --no-walk --grep=WIP
git stash clear // to clear the whole list
git fsck --unreachable |
grep commit | cut -d\ -f3 |
xargs git log --merges --no-walk --grep=WIP