This question has already been answered:
There is an unnecessary commit on the server at the moment, it needs to be removed from the server.
I did:
git reset --hard HEAD~1 Locally, the changes rolled back. But now when push server, the changes are there. Tried to do Rebase but that didn't help either.
How to push so that the last commit was deleted?