How can I uncommit my last commit in git? Is it git reset --hard HEAD or git reset --hard HEAD^ ? 8 Tags: gitgit-indexgit-resetundo