如何在GitHub上打开多个请求 [英] How to open multiple pull requests on GitHub

查看:166
本文介绍了如何在GitHub上打开多个请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在GitHub上打开一个pull请求时,自我上一次请求以来的所有提交以及所有新提交都自动添加到此请求中。我似乎无法控制哪些提交被添加,哪些不提供。当我尝试打开另一个请求时,我得到一个糟糕!已经有一个请求错误。有没有简单的方法来打开多个请求,而不必乱用命令行? 解决方案

分店。打开多个提交的拉取请求的唯一方法是将它们分离到各自的分支中,并从那里打开拉取请求。


When I open a pull request on GitHub, all commits since my last request and all new ones are automatically added to this request. I can't seem to control which commits are added and which are not. When I try to open another pull request, I get an "Oops! There's already a pull request" error. Is there any easy way to open multiple pull requests without having to mess around with the command line?

解决方案

Pull requests are based on a branch. The only way to open up a pull request for multiple commits is to isolate them into their own branch, and open the pull requests from there.

这篇关于如何在GitHub上打开多个请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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