git stash and discard from working directory code example
Example 1: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.
Example 2: git stash contnet
git stash show -p stash@{1}
git stash drop stash@{index} // here index will be shown after getting stash list.
git stash show -p stash@{1}