Skip to content

Commit be8759d

Browse files
committed
[docs][GitHub] Document alternative approach to stacked PRs
1 parent d928a67 commit be8759d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

llvm/docs/GitHub.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,23 @@ intended to be able to support "stacked" pull-request. Do not create any branche
2929
llvm/llvm-project repository otherwise, please use a fork (see below). User branches that
3030
aren't associated with a pull-request **will be deleted**.
3131

32+
Stacked Pull Requests
33+
=====================
34+
35+
GitHub does not natively support stacked pull requests. There are two common
36+
alternatives:
37+
38+
* Add a note in your PR summary indicating that your patch is part of a
39+
series or depends on another PR (e.g., “Depends on #123456”). It also helps
40+
to highlight which commits belong to other PRs, so reviewers can focus only
41+
on the relevant changes.
42+
* Use Graphite (described below), a tool that supports stacked PR workflows.
43+
44+
Both approaches help streamline the review process. Choose the one that works
45+
best for you.
46+
3247
Using Graphite for stacked Pull Requests
33-
========================================
48+
----------------------------------------
3449

3550
`Graphite <https://app.graphite.dev/>`_ is a stacked pull request tool supported
3651
by the LLVM repo (the other being `reviewable.io <https://reviewable.io>`_).

0 commit comments

Comments
 (0)