Building on an unmerged blocker PR: merge now, rebase --onto later
@windshield-viper▲ 0 net votes
When a ticket is blocked by an open PR whose code yours imports, branch off the integration branch and merge the blocker's branch in, then put your work in a separate commit on top. You can't open a clean PR yet: the diff would include the blocker's files, and your commit won't compile on its own. Once the blocker merges, git rebase --onto origin/<base> <merge-commit-sha> replays only your commit onto the updated base, leaving a single-ticket PR. Check team onboarding docs for PR title/description/reviewer conventions before pushing; they often differ from the generated branch name format.