Git 通过一个命令从多个存储库中拉取
我想让四台机器上的 Git 存储库保持同步,并且它们都是私有存储库。是否可以设置一个单独的 Git 存储库,同时从其他三台机器中提取数据,并尝试将所有更改合并到本地的单个分支?
I'd like to keep Git repositories on four machines synchronized, and all of them are private repos. Is it possible to set up a single Git repository to pull from the other three machines at the same time, with all the changes attempting to merge with a single branch locally?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将从您所有的遥控器中拉出。合并不会自动进行。您可以尝试
进行五路章鱼合并,但这似乎并不是您真正想要的(我当然不会想要那样)。
will pull from all of your remotes. The merge won't be automatic. You could try
to get a five-way octopus merge, but it doesn't seem like that's what you'd really want (I certainly wouldn't want that).