One of my commit messages got corrupted somehow, and now git push doesn't work. The error message (shown below) isn't helping me figure out how to fix the problem.
$ git push -f
37:42: syntax error: Expected end of line but found identifier. (-2741)
error: failed to push some refs to [myrepo]
I don't want to overwrite my local version because the code on my local machine is more up-to-date than what is on the repo. How can I restore my workflow of pushing my most up-to-date code from my machine to the repo?