Github单个请求更改多个存储库? [英] Github single pull request for changes to multiple repositories?

查看:142
本文介绍了Github单个请求更改多个存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能(或者甚至是聪明)将多个存储库的更改打包到Github上的单个请求中?或者做两个单独的pull请求会更好?



在我的具体情况中,我在巴黎添加了一项新功能,简单的Active Record实现构建于Idiorm。但巴黎的变化也需要改变习惯用法。 Idiorm和Paris来自同一作者,但生活在不同的存储库。



我可以(也应该)提出一个请求吗?或者是否需要创建两个,然后在第二个请求中注释,除非第一个变更集合已经在其他存储库中合并,否则它将无法工作?

解决方案

GitHub拉取请求我可以看到,操作链接到单个GitHub存储库:


默认情况下,假设pull请求基于父级存储库的集成分支。

在绝大多数情况下,默认值是正确的;然而,如果任何信息不正确,请按更改提交按钮。

提交范围选择器将展开,允许基础存储库,基本分支,以及要定制的分行。



只能输入一个基本仓库。



所以在你的情况下,提到依赖性的注释在这里似乎是相关的选项。


Is it possible (or even smart) to pack changes for multiple repositories into a single pull request on Github? Or would it be better to make two separate pull requests?

In my specific case, I am adding a new feature to Paris, the simple Active Record implementation built on top of Idiorm. But the change in Paris also requires a change in Idiorm. Idiorm and Paris are from the same author but live in different repositories.

Can I (and should I) make a single pull request? Or do I need to make two, and then comment in the second pull request that it won't work unless the first changeset has been merged on the other repository?

解决方案

From what I can see of GitHub pull request, this operation is linked to a single GitHub repository:

By default, pull requests are assumed to be based on the parent-most repository’s integration branch.
In a great majority of cases, the defaults will be right; however, if any of this information is incorrect, press the Change Commits button.
The commit range selector will expand, allowing the base repository, base branch, and head branch to be customized.

Only one base repo can be entered.

So in your case, a note mentioning the dependency seems the relevant option here.

这篇关于Github单个请求更改多个存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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