Scenario, first 5 commits in a PR have already been code reviewed. Made a few more commits and want to focus in on those.
How can I compare a range of commits in the pull request on Github?
The most convenient way I found is:
commits
to files
and add ..HEAD
to the end of URL such as https://github.com/airbnb/javascript/pull/188/files/2b6c524e6984f300f6c6e08e57c8dbab9497e798..HEADYou'll see commits range you want to review in context of the PR.
P.S. Now GitHub provides functionality to view "Changes since your previous code review" but sometimes it is useful to select changes manually