New Git and Github user. Is it possible to accept / merge only part of the Pull request?
For example, if there is a Pull request on Github that has 4 commits, but you want to use only 2 of them, is there a way to just merge 2 and ignore the other 2?
No, the pull request is all or nothing.
You can recreate the pull request by creating a branch to only the necessary commits and merging them.
You can do it through
git cherry-pick
or
git rebase -i