发送一个特定文件夹的拉取请求? [英] Send a pull request for a specific folder?

查看:105
本文介绍了发送一个特定文件夹的拉取请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一次提交中,我改变了几个文件夹中的几个文件,比如 folderA folderB folderC 。在 folderA 中,这些更改只是添加注释和打印中间结果的一些代码,这些代码用于我自己的理解。 folderB folderC 是新创建的,在那里我为项目编写了一些代码,现在我只想发送对 folderB folderC 的拉取请求,你会怎么做?

github网页或命令行会很有帮助。

解决方案

你不能。您可以发送特定分支的拉取请求。这样做的一般方法是将所有您想要的更改放在主题分支上,然后为此分支发送拉取请求。

In one commit, I have changed several files in several folders, say, folderA, folderB, and folderC. In folderA the changes are just adding comments and some code for printing intermediate results, which serve my own understanding. folderB, folderC are newly created, in there I have written some code for the project, now I want to only send a pull request for folderB and folderC, how would you do that?
Either working from the github webpage or the command line will be helpful.

解决方案

You cannot. You can send a pull request for a specific branch. The general way to do this is to put all the changes you want to on a topic branch and then to send a pull request for this branch.

这篇关于发送一个特定文件夹的拉取请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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