DEV Community

Krzysztof Platis
Krzysztof Platis

Posted on β€’ Edited on

3

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

Heroku

Deliver your unique apps, your own way.

Heroku tackles the toil β€” patching and upgrading, 24/7 ops and security, build systems, failovers, and more. Stay focused on building great data-driven applications.

Learn More

Top comments (0)

Jetbrains image

Build Secure, Ship Fast

Discover best practices to secure CI/CD without slowing down your pipeline.

Read more

πŸ‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay