git - How to fix Merge conflics from Dev -> Master when both branches are protected? - Stack Overflow

admin2025-05-01  1

I'm trying to merge a commit from Dev -> Master in the web interface however I get a message saying "This branch is out-of-date with the base branch Merge the latest changes from master into Dev."

The problem is Dev is also a protected branch So I'm not able to do this. I've tried creating branches which mirror master, merging dev into it then raising a PR from the feature branch into dev (and the opposite) however the conflicts remain. These changes were made in the command line.

How can I resolve this while maintaining my workflow of feature branch -> Dev -> Master

转载请注明原文地址:http://www.anycun.com/QandA/1746105836a91751.html