【发布时间】:2014-12-11 08:15:35
【问题描述】:
考虑以下情况:
多个分支 - master、dev1..dev-n 和 feature1。在 feature1 分支上发生了一些开发(提交到该分支),我需要对其进行审查。
不过……
- Feature1 分支在过去的某个时间点从主分支中分离出来。
- 在合并到master之前,master已经合并到Feature1分支
- Feature1(+master) 被合并回 master。
所以图表看起来像这样:
M F
|
g (merge F to master)
|\
| \
f |
| 4 (last commit to F)
e |
| 3 (merge master to F - F contains commit b,c)
d/|
| 2
c |
| 1 (first commit to F)
b /
|/
a(base)
我如何看到直接提交到分支 F (1-4) 而没有看到提交到其他分支并合并到 F (a-g) 中?
【问题讨论】: