merge only part of a pull request github code example
Example: how to do a pull request with one commit
git fetch origin
git checkout -b add-log-component origin/add-log-component
git checkout master
git cherry-pick COMMIT-HASH-HERE
git push origin master