how to clear the git stash code example
Example 1: how to clear git status
git rm -r --cached .
Example 2: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.
git rm -r --cached .
git stash drop stash@{index} // here index will be shown after getting stash list.