I want to remove all stash\'es, except most recent, from git stash list.
git stash list
E.g. I want to remove stash 1 to 3 in a single git command:
Supposedly you want to drop all old stashes except the first one you can use a script like this:
for (( ; ; )) do git stash drop stash@{1} Result = $? if [ Result != 0 ] then break fi done