I ran a git pull --rebase
, and aborted this after fixing several merge-conflicts using git rebase --abort
.
Before the attempted rebase, git status
told me: "Your branch is ahead of 'origin/master' by 20 commits."
Now I get: "Your branch and 'origin/master' have diverged, and have 15 and 5 different commit(s) each, respectively."
I have already done a reset to the latest commit (git reset --hard c15...e30
), but the status message is still the same.
How do I revert my repository to the state is was before I started the mess? And what is the difference between the current state and the previous?
Thanks.