Unapply a stash in Git

Using Git and just applied the wrong stash? No worries, the following will help you.

Unapply the last stash:

→ git stash show -p | git apply -R

Unapply a specific stash: e.g. 0 in this case

→ git stash show -p stash@{0} | git apply -R

Leave a comment -