简体   繁体   English

在Github上分叉一个Pull请求

[英]Fork a Pull request, on Github

What is the right workflow for effectively forking a Pull request? 有效分配Pull请求的正确工作流程是什么?

To explain the use case: I've found a repository which contains a pull request that adds a feature I need. 解释用例:我找到了一个包含拉取请求的存储库,该拉取请求添加了我需要的功能。 Unfortunately the pull request author has gone awol and the repo owner won't accept the pull request until tests are written. 不幸的是,拉请求作者已经失败了,并且repo所有者在写入测试之前不会接受pull请求。 I'd like to "fork" the Pull request and write tests so that the repo owner will accept the new functionality. 我想“分叉”Pull请求并编写测试,以便repo所有者接受新功能。

您可以分叉原始项目,编写单元测试,然后使用“Fork Queue”功能有选择地将第三方的更改合并到您自己的存储库中,最后向您自己的存储库发出拉取请求,包括单元测试,原始存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM