Explain how `git merge-base` and `A...B` relate to what a GitHub PR diff shows.
AdvancedConceptBranching strategies, pull requests and code review
Answer
The PR "Files changed" tab shows the diff between the merge base of base and head, and the head tip, equal to git diff base...head. If the base advanced, the PR diff does not include those commits, but the merge result may still differ from what you reviewed, which is why up-to-date and merge queue checks matter.
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is trunk-based development and what does it require?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?Beginner