问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/31690827/send-a-pull-request-for-a-specific-folder