Skip to content
Discussion options

You must be logged in to vote

GitHub’s compare view is not always symmetric because the order of the branches matters. It compares commit ancestry using the common ancestor (merge base), not just the latest commit or final file contents. So reversing branch1...branch2 can produce different results, especially when rebases, cherry-picks, or different merge paths are involved.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Rod-at-DOH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Repositories The core of version-controlled code storage Question Ask and answer questions about GitHub features and usage source:ui Discussions created via Community GitHub templates
2 participants