git stash apply specific index code example
Example 1: git stash apply specific stash
git stash apply "stash@{n}"
or
git stash apply n
Example 2: git stash apply specific index
// Get a list of stashes
git stash list
// Apply specific stash index
git stash apply stash@{n}
// Since version 2.11 you can do:
git stash apply n