I have a git repo with only one commit. In my local master branch, I have accidentally made a
git commit --amend
so now I get a message saying
On branch master
Your branch and 'origin/master' have diverged,
and have 1 and 1 different commits each, respectively.
How can I discard the amended commit and go back to the original commit? I want to have my local master and origin/master up to date with nothing to commit