git abort stash apply conflict code example Example: git stash apply undo merge conflict git reset HEAD .