Skip to content

Merge Commits are Back (and Better than Ever)

After a long hiatus, we're linking to merge commits again. We truncated merge commits months ago, because they didn't provide any information beyond the shas of the parents, but now…

Author

After a long hiatus, we’re linking to merge commits again. We truncated merge commits months ago, because they didn’t provide any information beyond the shas of the parents, but now we’re exposing the diff between them as an overview of what changed in the branch.

Essentially, what we’re doing behind the scenes is: git diff parent1…parent2

This page will become the basis for a more extensive code review system that, coupled with our current code commenting, will really provide a lot of value for large projects.

(If older merge commits aren’t showing diffs, it’s most likely that it got cached without the additional data)

Explore more from GitHub

Company

Company

The latest on GitHub, from GitHub.
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.