I'm currently writing trying to write a workflow, that rebases one branch onto another on each push. Now I want that action to fail, if any merge conflicts occur (as there is no way that my code would be able to resolve these).
Is there any flag or other way to make git rebase
fail if merge conflicts appear? Can I reproduce this behaviour on another way?
How would I do this for git merge
?