git stash pop is aborting code example Example 1: git abort stash pop git apply --reverse Example 2: git stash pop abort git reset HEAD --hard