如何使用git将多个项目分叉到一个存储库中? [英] How do I fork multiple projects into one repository with git?

查看:315
本文介绍了如何使用git将多个项目分叉到一个存储库中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个3个项目我想分叉。它们都是相互关联的 - 改变一个可能需要改变另一个。因为它们都是相关的,所以我希望为叉子创建一个存储库,同时保留从每个原始设备下载更新的能力。



我将如何设置我的git仓库?

这些都是初步想法,所以如果这太疯狂/愚蠢,我不会感到惊讶。是吗?

解决方案

您可以随时使用 git remote add< name>< url> 来添加更多的源作为源。


I have a 3 projects I'd like to fork. They're all related to each other - changing one will likely require a change to another. Because they're all related, I'd like to create 1 repository for the forks, while maintaining the ability to pull down updates from each original.

How would I setup my git repository?

These are preliminary thoughts so I wouldn't be surprised if this is crazy/stupid. Is it?

解决方案

You can always use "git remote add <name> <url>" to add more repositories as source.

这篇关于如何使用git将多个项目分叉到一个存储库中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆