I am participating in developing a Python 3 project. Let's say my branch is named "my_branch". I had to do a quick and small change in my code and because of my laziness I did it in GitLab webui. Then I made some changes in my local repository without pulling my branch. Now I cannot push the changes because my_branch is different than my local repository. How can I revert changes in a remote branch my_branch without creating new branch. I basically just want to do a step back.
git push gives an error: update were rejected because the remote contains work that you do not have locally