git discard stash code example
Example 1: git stash clean command
git stash clear
Example 2: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.
Example 3: git remove first stash
git stash drop 0