git delete all stashes code example
Example 1: stash with message
git stash save “Your stash message”.
Example 2: git stash drop all
git stash clear
Example 3: stash clear list
git stash clear // to clear the whole list
Example 4: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.
Example 5: git remove first stash
git stash drop 0