How to Git stash pop specific stash in 1.8.3?

git stash apply n

works as of git version 2.11

Original answer, possibly helping to debug issues with the older syntax involving shell escapes:

As pointed out previously, the curly braces may require escaping or quoting depending on your OS, shell, etc.

See “[email protected]{1} is ambiguous?” for some detailed hints of what may be going wrong, and how to work around it in various shells and platforms.

git stash list
git stash apply [email protected]{n}

git stash apply version

Leave a Comment