I forgot to git pull my code before editing it; when I committed the new code and tried to push, I got the error "push is not possible".
git pull
At tha
So from the error above. All you have to do to fix this issue is to revert your code. (git revert HEAD) then git pull and then redo your changes, then git pull again and was able to commit or merge with no errors.
git revert HEAD