GIT merge 省略其他分支中的提交
GIT merge omits commits in other branches
我有以下存储库结构
branch master : for final stable tag releases
branch develop : for ongoing developement and combination of features
branch team : A branch for another developing team
branch feat/foo : A feature developed by the oter developing team
我要实现如下流程:
master ------------------*
/
develop -----*--*---*---* (final bugfix, merge with 'master' for final stable tag)
/
team --*---*---* (summarized team developement merged into 'develop')
/
feat/foo --*--*--* (finalized feature merged into B)
我看到团队将该功能 ('feat/foo') 合并到了他们的团队分支 ('team') 中。然后我将 'team' 分支合并到我的 'develop' 分支中,但不知何故我遗漏了他们的一些提交(e868d17 和 0091ed2)。我也尝试单独合并 feat/foo,但是你在下图中看到了结果...
知道如何正确合并分支以进行开发吗?为什么合并会省略这两个提交?
我正在使用 Eclipse 进行 GIT 处理。它不会在合并期间标记任何冲突。
必须手动同步存储库。
右键单击项目 > 团队 > 同步工作区
或在 GIT View
中同步
我有以下存储库结构
branch master : for final stable tag releases
branch develop : for ongoing developement and combination of features
branch team : A branch for another developing team
branch feat/foo : A feature developed by the oter developing team
我要实现如下流程:
master ------------------*
/
develop -----*--*---*---* (final bugfix, merge with 'master' for final stable tag)
/
team --*---*---* (summarized team developement merged into 'develop')
/
feat/foo --*--*--* (finalized feature merged into B)
我看到团队将该功能 ('feat/foo') 合并到了他们的团队分支 ('team') 中。然后我将 'team' 分支合并到我的 'develop' 分支中,但不知何故我遗漏了他们的一些提交(e868d17 和 0091ed2)。我也尝试单独合并 feat/foo,但是你在下图中看到了结果...
知道如何正确合并分支以进行开发吗?为什么合并会省略这两个提交?
我正在使用 Eclipse 进行 GIT 处理。它不会在合并期间标记任何冲突。
必须手动同步存储库。 右键单击项目 > 团队 > 同步工作区 或在 GIT View
中同步