git stash pop abort

C++
git apply --reversegit reset HEAD --hard
Source

Also in C++: