Diff of a range of commits in a Github PR

krisplatis

Krzysztof Platis

Posted on January 31, 2023

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

💖 💪 🙅 🚩
krisplatis
Krzysztof Platis

Posted on January 31, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related