git abort stash merge code example Example: git stash abort git reset HEAD --hard git checkout my_correct_branch git stash pop