Q: 2
Pull requests can only be created between two branches that are:
Options
Discussion
Guessing B, since I've seen PRs happen between branches made by different users in some workflows.
Seen this on similar practice tests, it's D. The branches have to be different for a pull request, it's a system requirement.
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.
B tbh, since teams often do PRs between branches from different users. I thought author mattered for restrictions too, but maybe I'm missing something about system rules here. Open to corrections if that's wrong.
B not A. For a pull request you need two different branches, doesn't matter who created them. System enforces that, not author rules.
Gotta be D. Pull requests only make sense if you're comparing two branches with different commit histories, otherwise there’s nothing to review or merge. Doesn’t matter who authored them, just has to be different branches. If I’m off let me know, but pretty confident on this one.
D is right. Pull requests are for merging changes from one branch to another so they have to be different branches or there’s nothing to merge. Pretty sure that’s always the rule, correct me if I missed anything.
Be respectful. No spam.