clear stash git by index 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.
git stash clear
git stash drop stash@{index} // here index will be shown after getting stash list.