I pushed up a change but it looks funny in stash compare view. I want to get rid of my last commit and redo it.
I tried both of these
git reset --hard HEAD~
git reset --hard HEAD~2
what does get rid of my commit but then it wants me to do a pull before I can do a push and I get all the changes back.