Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 从分叉点合并分支_Git - Fatal编程技术网

Git 从分叉点合并分支

Git 从分叉点合并分支,git,Git,我有一个带有几个分支的git存储库 d - e - f (branch b1) / a - b - c - g - h (branch b2) \ i - j (branch b3) 我想在f上重播补丁I和j,以获得 d - e - f - i' - j' (branch b1) / a - b - c - g - h (branch b2) \

我有一个带有几个分支的git存储库

      d - e - f (branch b1)
     /
a - b - c - g - h (branch b2)
             \
              i - j (branch b3)
我想在
f
上重播补丁
I
j
,以获得

      d - e - f - i' - j' (branch b1)
     /
a - b - c - g - h (branch b2)
             \
              i - j (branch b3)
但不会带来变化
c
g


我该怎么做?到目前为止,我一直在使用
cherry-pick
手动指定范围,但似乎有更好的方法。

cherry-pick
是处理您的案例的方法我不知道您是如何指定范围的,但您可能想通过
man
找到一种更短的方法如何指定范围