If I run into merge errors, I usually solve the merge errors, add my files again and use
git rebase --continue
to continue with pulling and pushing.
Now I had some time to take a deeper look into how git works and figured out, that it should be possible to create a new commit instead. I think, thats maybe a good idea to clarify that there were some merge errors and that they were solved manually.
So which one is recommed to use and what are their both advantages and disadvantages? Thanks in advance!
Just use
git rebase --continue
. Resolving conflicts is an expected part of rebasing. You're throwing away the old commit that actually caused the conflict, so I don't see any benefit in recording its resolution separately.