unsi git checkout not stash changes code example Example: git stash apply undo merge conflict git reset HEAD .