drop the stash git code example
Example 1: git stash drop
# if you don't need a particular stash, use git stash drop
git stash drop stash@{0}
# to show all stash, use this:
git stash list
Example 2: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.