drop git stash top code example
Example 1: git stash drop
# if you don't need a particular stash, use git stash drop <stash_id>
git stash drop stash@{0}
# to show all stash, use this:
git stash list
Example 2: git stash drop all
git stash clear