Cross-Repository Compare View
When we launched Compare View earlier this year, we knew there was a killer feature still missing: the ability to compare branches across repositories. Easy forking and the networks that…
When we launched Compare View earlier this year, we knew there was a
killer feature still missing: the ability to compare branches across
repositories. Easy forking and the networks that emerge as a result is what
makes GitHub great. Limiting the Compare View to a single repository felt all
wrong. So today we’re flipping the switch on some non-trivial architectural
changes that make cross-repository comparisons a reality:
Here’s how it works: it’s now possible to specify a <user>:
prefix on the
comparison’s starting or ending point. When given, the <user>
part identifies
the owner of a another repository/fork in the same network. In the example
above, we’re comparing branches in the
homebrew network with
mxcl‘s master
branch as the starting point and adamv‘s rvm
branch
as the ending point.
To change the starting or ending point, click the ref label buttons and enter
the branch name or commit SHA1 to switch to. For example, we can change the
starting point from mxcl’s master
branch to the brew07
branch like this:
Written by
Related posts
Celebrating the GitHub Awards 2024 recipients 🎉
The GitHub Awards celebrates the outstanding contributions and achievements in the developer community by honoring individuals, projects, and organizations for creating an outsized positive impact on the community.
New from Universe 2024: Get the latest previews and releases
Find out how we’re evolving GitHub and GitHub Copilot—and get access to the latest previews and GA releases.
Bringing developer choice to Copilot with Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview
At GitHub Universe, we announced Anthropic’s Claude 3.5 Sonnet, Google’s Gemini 1.5 Pro, and OpenAI’s o1-preview and o1-mini are coming to GitHub Copilot—bringing a new level of choice to every developer.