发送一个特定文件夹的拉取请求? [英] Send a pull request for a specific folder?
问题描述
在一次提交中,我改变了几个文件夹中的几个文件,比如 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屋!