|
|
1
5
你应该做个决定
-x--x--x1--x--x2 (design)
\
p--p (production)
x1和x2需要包括在生产中:
然后:
您可以:
我也会这么做,但是只为操作创建了一个私有分支:
-x--x--x1--x--x2 (master, master-private)
\
p--p (production)
,然后是rebase,这次是私有分支(也就是说,你永远不会推的分支)。
然后:
以及
-x--x--x1--x--x2--x--x3--x (master)
\
p--p--x1'--x2'--x3' (production)
| \
| x''--x'' (master-private)
\
x'..x' (old x' from the first master-private)
|
|
|
UserControl · Git cherry pick失败 8 年前 |
|
|
user319799 · Git工作流将相同的功能添加到分支 10 年前 |
|
|
mira_mayhem · 樱桃采摘问题 11 年前 |