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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay