I followed this thread on how to amend the commit message.
It went well. But in the previous commit I pushed the updates to remote as well. Now once I changed the commit message, its rejecting the remote push. It says filed to push refs
.
I tried the commmand from one of the comments in the above thread.
git push -f origin branchname
It does not seem to be working either. Any other ideas? If its not working, I want to rollback the amended commit message to original.