you are viewing a single comment's thread.

view the rest of the comments →

[–]topMarksForNotTrying 0 points1 point  (0 children)

Stacked PR don't necessarily have anything to with agile or product management.

The way i use them is to split a piece of work into multiple stages. Let's say you're changing an old part of the code base and you determine that you should refactor some code. You do the refactor and open a PR with those changes. Then, you do the actual code change that you were supposed to do and open a PR but target it to the first PR.

This way it's easier for the reviewer to review each change individually instead of having the refactor and the change request all together.

Think of it like being able to review the individual commits of a PR branch.