We have two branches: master
and dev
. Our ci deploys to production upon a merge into master
.
Now, we do our development in dev
and intend to merge to master when we wish to deploy. We do not do development in master
.
When we open pull requests to master
from dev
we are greetings with 'conflicts'. These conflicts are a list of the changes we made in dev. Resolving these conflicts means going through them manually and selecting the changes from dev
in each case.
Why is the merge considering these conflicts? No changes were made to these files in master between merge events. Why isn't automerge just applying all the changes we made in dev to master instead of flagging them?
question from:https://stackoverflow.com/questions/65875789/git-merge-creating-conflicts-when-it-shouldnt