![](/img/trans.png)
[英]How to stop a branch merged with develop branch to be merged with master branch?
[英]How to deal with the situation that the parent branch was merged to develop before a child branch?
我的同事在 20 天前创建了 feature-parent-branch,我在 15 天前使用git town
创建了 feature-child-branch。 然后他在 12 天前将 feature-parent-branch 合并到了 development 分支。 然后我在 2 天前完成了我的票,我使用git town
将 feature-child-branch 合并到 feature-parent-branch 。
但是,我发现 feature-parent-branch 和 develop 之间大约有 50 个文件差异。
当我处理工单时,主分支是 git 城镇配置中的 feature-parent-branch。
我不确定最近的 PR 是否更改了这 50 个文件。 有没有一种安全的方法来合并我的代码以从功能父分支开发?
太感谢了!
现在,如果基于 feature-parent-branch 创建 feature-child-branch 而 feature-parent-branch 被合并以早于 feature-child-branch 开发,我得到了解决此类问题的方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.