how to undo a git stash pop code example
Example 1: git abort stash pop
git apply --reverse
Example 2: git stash pop abort
git reset HEAD --hard
Example 3: git stash apply undo merge conflict
git reset HEAD .
git apply --reverse
git reset HEAD --hard
git reset HEAD .