I had a mistake and commit some changes to git which I should not have committed. After I made the commit, I pushed my changes. I then used the following commands to try and re
You need to specify what ref you want to push:
git push -f origin MyBranch