简体   繁体   English

如何在压扁的合并之上重新调整我的分支?

[英]How do I rebase my branch on top of a squashed merge?

Here's my set up, it's easier to ask with a picture.这是我的设置,用图片更容易询问。 Appreciate any help:)感谢任何帮助:)

在此处输入图像描述

Try:尝试:

git rebase --onto master F featureb # just rebase the revisions _past_ F

The conflicts are happening because with a normal rebase, git will try to apply D, E and F on top of the revision that "squahed them" (but git has no idea of that... to git D+E+F is just another revision like any other without any relation to the original D, E and F).发生冲突是因为使用正常的 rebase,git 将尝试在“压扁它们”的修订版之上应用 D、E 和 F(但 git 不知道...对 ZBA9F11ECC3497D16EZD+FDC2与原始 D、E 和 F 没有任何关系的任何其他修订版)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM