DEV Community

Krzysztof Platis
Krzysztof Platis

Posted on • Updated 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.

If you really feel like buying me a coffee

... then feel free to do it. Many thanks! 🙌

Buy Me A Coffee

Top comments (0)