git reset --hard HEAD^
will only reset your working copy to the previous (parent) commit. Instead, you want to run
git reset --hard origin/master
Assuming remote is origin
and the branch you want to reset to is master
git reset --hard HEAD^
will only reset your working copy to the previous (parent) commit. Instead, you want to run
git reset --hard origin/master
Assuming remote is origin
and the branch you want to reset to is master