Git · Senior · Question 40 of 76
Why are stacked pull requests used?
- ✓Correct answer: To split a big change into small dependent PRs
- 2To keep a copy of every PR on a backup branch
- 3To merge several unrelated PRs with a single click
Explanation
Reviewers see focused diffs, and early parts can land sooner. The cost is restacking after changes, which tools and --update-refs make manageable.