Home > Blockchain >  How to create 2 pull requests from the same fork
How to create 2 pull requests from the same fork

Time:11-28

How to create 2 pull requests with different changes but in the same fork and at the same time?

I have tried to use the same branch, but the changes of the second PR are committed in the first one

CodePudding user response:

Note that a pull request is a "request to merge a branch into master/main". So if you want to create another pull request you just need to create an additional branch.

CodePudding user response:

There are two options:

  1. Split changes into different branches locally, push the new branches and create the PRs.
  2. Cherry-pick using Github's UI for cherry-picking (help here)
  • Related