I'm new to GitHub. Someone submitted a pull request with 5 commits. 3 of them have a little bug, though, so must wait. How can pick 2 of them for my project?
The ideal solution would be to leave a comment asking for the contributor to submit again his/her pull request with only the 2 commits, in order for you to apply said PR (pull request) without having to do any work.
The other solution, from the page "Merging Pull Request", is to merge locally, on your local clone, in a dedicated branch.
You can then cherry-pick the right commits you want, and push those back to your repo, but make sure to leave a comment in the discussion section of the pull request explaining that
This is similar to the first option, except you don't have to wait for the fixes: you can grab what you want locally, test and push.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With