Implement large features as a stack of small, reviewable pull requests (GitHub) or merge requests (GitLab) where each PR/MR targets the previous one instead of main. Use for stacked PRs, stacked MRs, stacked diffs, stacked branches, incremental review, multi-phase features, or breaking a large change into focused commits. Covers the full workflow for both GitHub and GitLab: branch naming, the reset pattern, PR/MR targeting, description templates, sequential merging, rebasing the stack, and recovery. Prefer main-based PRs unless the feature clearly has multiple logical phases for incremental review.
2026-03-15