【发布时间】:2016-04-27 15:38:36
【问题描述】:
您好,我正在尝试设置一个带有两个上游的 git-repo。
-
upstream-jointswp: (https://github.com/JeremyEnglert/JointsWP/)
- 整个根文件夹 / 转到我位于根 / 的存储库。 (没问题)
-
upstream-woocommerce: (https://github.com/woothemes/woocommerce)
- 此存储库 /templates 的子目录应位于我的存储库中的 /woocommerce 下。
- 我能够通过使用 sparseCheckout 实现 /templates 在我的存储库中作为唯一的文件夹/树。
- 我尝试使用 git-subtree 来跟踪提交。
当我使用 git-subtree 时。如何将 /templates 中的内容从我的上游签出到我的 repo 中的 /woocommerce?
如果我的问题不像我希望的那样直截了当,请给我一个标志;)
【问题讨论】:
标签: git git-subtree