I was working on a branch, after I commited my changes and tried to push them it said that I had diverged and needed to pull the most recent changes.
I did git pull --rebase which caused an rebase conflict. I couldt identify where the problem was. So I did git rebase --skip which seems to have reverted my changes to a version that is behind my commit.
Is it possible to reset to my commit that I tried to push? I did git reflog to find the commit ID. And then I tried git reset *commitID* But it does not seem to work. It does not reset. What can I do?