DEV Community

Krzysztof Platis
Krzysztof Platis

Posted on

Diff of a range of commits in a Github PR

Open the tab of "Files changed" in a Github PR:
Image description

Open the dropdown "Changes from all commits":

Image description

Then hold [Shift] and click a commit inside the dropdown. Then click again at another commit. The yellow-highlighted items is the range:

Image description

Then you'll be redirected to a PR's view containing a diff only from the range of the selected commits.

Top comments (0)