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…
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)
Written by
Related posts
Inside the research: How GitHub Copilot impacts the nature of work for open source maintainers
An interview with economic researchers analyzing the causal effect of GitHub Copilot on how open source maintainers work.
OpenAI’s latest o1 model now available in GitHub Copilot and GitHub Models
The December 17 release of OpenAI’s o1 model is now available in GitHub Copilot and GitHub Models, bringing advanced coding capabilities to your workflows.
Announcing 150M developers and a new free tier for GitHub Copilot in VS Code
Come and join 150M developers on GitHub that can now code with Copilot for free in VS Code.