how to git pull till specific commit 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