# Dependant/chain/stacked PR support?

**URL:** <https://forum.gitea.com/t/dependant-chain-stacked-pr-support/3233>\
**Category:** Install/Maintain/Configure\
**Created:** [May 4, 2021, 6:10am UTC](https://forum.gitea.com/t/dependant-chain-stacked-pr-support/3233 "2021-05-04T06:10:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gprosser](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@gprosser](https://forum.gitea.com/u/gprosser)\
**Post date:** [May 4, 2021, 6:10am UTC](https://forum.gitea.com/t/dependant-chain-stacked-pr-support/3233/1 "2021-05-04T06:10:42Z")

</div>

I’ve looked at the docs and messed about with the UI, but I can’t seem to find a way I can tell gitea that two PRs (or branches, or whatever) are dependant on one another to publish a PR “stack”.

e.g. I have commits: A → B → C → D, and I want to merge them all into repo remote/master. I can currently submit a PR for A, wait for merge, rebase, submit a PR for B, etc, but I’d rather submit a PR for A, then submit a PR for B and say this depends on A being merged, and I can’t find out a way to do this.

It’s entirely possible I’m using the wrong words to find this in the documentation, and if so, sorry!

There’s some mention of github supporting this here:

> **[No more suffering from Large Pull Requests](https://www.michaelagreiler.com/stacked-pull-requests/)**
>
> Learn this technique to split up large code changes and make your PRs easier, faster, and more effective.

by setting the ‘base’ or a branch or PR, but I can’t find that in the UI, nor in the “tea” CLI in any obvious place.

Is this supported in gitea? Am I missing something obvious?

---

<div class="post-metadata">

**Author:** ![gprosser](https://avatars.discourse-cdn.com/v4/letter/g/e68b1a/32.png) [@gprosser](https://forum.gitea.com/u/gprosser)\
**Post date:** [May 4, 2021, 6:11am UTC](https://forum.gitea.com/t/dependant-chain-stacked-pr-support/3233/2 "2021-05-04T06:11:25Z")

</div>

(to be clear, I’m also aware I can do a PR for A,B,C,D all in one PR, but I’d rather break my work up into logical units easier for the reviewer(s))
