![](/img/trans.png)
[英]Apply commits from one git repository to subfolder of another repository
[英]How to link a subfolder from one git repository into another?
我有以下结构的 2 个 git 存储库。
Repository1 -> src
|
-> res
Repository2 -> src
|
-> res
我想将 Repository2 中的子文件夹链接到 Repository1,以便最终文件夹结构看起来像:
Repository1 -> src -> Repository2src
|
-> res -> Repository2res
有什么办法可以做到这一点吗?
不直接使用 Git,考虑到即使是浅克隆仍会涉及 Repository2 父文件夹(而不是直接使用其 src 或 res 文件夹)。
我会推荐:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.