问问题
487 次
1 回答
1
Gitsubtree
命令也有一个merge
子命令。它遵循以下语法:
> git subtree merge -P <prefix> <commit>
所以在你的情况下,你可以从 repo A 中运行
> git subtree merge -P foo split-master
这会将 repo B 中所做的更改重新集成到 repo A 中的子树中。
还有一些其他选项,请查看文档。
于 2013-10-29T20:20:23.253 回答