I have pulled data from a shared repository, but seems to be some errors on the remote. I can not fix his errors and commit back the code. I want to revert my code before pull and work on the feature on which I was working on.
Doing only git revert sha
will work? I don't want to push my revert to the server.
What should I do?