git stash apply and drop stash at same time code example
Example 1: git stash apply specific stash
git stash apply "stash@{n}"
or
git stash apply n
Example 2: git stash apply item
git checkout stash@{index} -- <filename> #stash particular file
git stash apply "stash@{n}"
or
git stash apply n
git checkout stash@{index} -- <filename> #stash particular file