[英]Git Rebase: Replace a commit with a merge commit
在您的图中,只有 5 个提交:
master conflicty ----- feature B
master not a merge ... feature A
master before
所以不需要rebase。 重置master难以master before
,合并feature A
,合并feature B
完毕。
您现在已经改写了公共历史,因此通常的警告适用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.