Q: 2
Pull requests can only be created between two branches that are:
Options
Discussion
Actually it's D, not A. PRs won't work if the branches are the same, that's a common trap.
D makes sense. You can't create a pull request if both branches are the same, there'd be no diff to review or merge. Pull requests are all about comparing changes across different branches. Pretty sure this is how GitHub and Azure DevOps handle it, but happy to hear if someone knows an exception.
Its D, you need two different branches to make a pull request or there’s nothing to compare. Official docs and practice tests both point to this. Pretty sure that’s always the rule.
Not B, D. Pull requests only make sense when comparing different branches, otherwise there's nothing to merge. A and B are red herrings since it's about branch difference, not user. Seen similar phrasing in other MS exams.
D or maybe A? But official guide and practice test both point to D in cases like this.
Had something like this in a mock and it was about comparing two different branches, not the same. Is there any scenario where PRs would work with identical branches or is D always correct?
D that's what I've seen on similar exam questions before.
Be respectful. No spam.