首页 > 解决方案 > Git apply some changes from master/branch from master to old release

问题描述

i branches like that:

Master -> A -> B -> C -> D -> E -> F -> K (merge) -> M -> N
Release    \-> G -> H     \          /
DEV                        \-> I -> J 

I want to merge I and J commits from DEV into Release branch. (It may be more commits, but to simplify i want only this two).

How can I do this ?

标签: git

解决方案


一种方式:查看发布;然后樱桃采摘 I,然后樱桃采摘 J。

这将通过复制提交并将其效果作为新提交重播来“应用更改”。但它不会形成拓扑合并提交。


推荐阅读