Mathew Kirmuć Mathew Kirmuć -3 years ago 98
Git Question

GitHub: accept part of pull request by changed files

This may be stupid question, I know, but I wonder, is there any way I can approve part of pull request changes by changed files?

I mean when I see all changed files in pull request, I want to approve only couple of them, add them to repo, and rest of changes mark as 'to improve'.

Thans in advance!

Answer Source

Pull request are atomic, you cannot accept few files in request. Either its all or nothing. If your pull request has multiple commits and you want few commits out it then it can be achieved by making a new branch out of PR and then cherry-picking to master.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download