list all git stashes code example
Example 1: git list of stashes
git stash list
Example 2: git stash pop index
git stash pop stash@{2}
Example 3: git delete stash
git stash drop stash@{index} // here index will be shown after getting stash list.