clear all stash git code example
Example 1: git remove first stash
git stash drop 0
Example 2: recover git stash clear
git fsck --unreachable |
grep commit | cut -d\ -f3 |
xargs git log --merges --no-walk --grep=WIP
Example 3: git stash
//to restrict file to add for commit
git stash pathOfFile