gitea/docs/content/administration
Viktor Kuzmin 49eb168677
Retarget depending pulls when the parent branch is deleted (#28686)
Sometimes you need to work on a feature which depends on another (unmerged) feature.
In this case, you may create a PR based on that feature instead of the main branch.
Currently, such PRs will be closed without the possibility to reopen in case the parent feature is merged and its branch is deleted.
Automatic target branch change make life a lot easier in such cases.
Github and Bitbucket behave in such way.

Example:
$PR_1$: main <- feature1
$PR_2$: feature1 <- feature2

Currently, merging $PR_1$ and deleting its branch leads to $PR_2$ being closed without the possibility to reopen.
This is both annoying and loses the review history when you open a new PR.

With this change, $PR_2$ will change its target branch to main ($PR_2$: main <- feature2) after $PR_1$ has been merged and its branch has been deleted.

This behavior is enabled by default but can be disabled.
For security reasons, this target branch change will not be executed when merging PRs targeting another repo. 

Fixes #27062
Fixes #18408

---------

Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: delvh <dev.lh@web.de>
2024-01-17 01:44:56 +01:00
..
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.en-us.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
adding-legal-pages.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
backup-and-restore.en-us.md Update backup instructions to align with archive structure (#26902) 2023-09-05 09:26:12 +08:00
backup-and-restore.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
cmd-embedded.en-us.md Enable markdownlint `no-duplicate-header` (#27500) 2023-10-07 15:30:21 +02:00
cmd-embedded.zh-cn.md Enable markdownlint `no-duplicate-header` (#27500) 2023-10-07 15:30:21 +02:00
command-line.en-us.md clarify aspects of the dump command (#26887) 2023-09-03 14:44:01 -04:00
command-line.zh-cn.md Expanded minimum RSA Keylength to 3072 (#26604) 2023-08-28 00:53:16 +00:00
config-cheat-sheet.en-us.md Retarget depending pulls when the parent branch is deleted (#28686) 2024-01-17 01:44:56 +01:00
config-cheat-sheet.zh-cn.md Update JS dependencies (#28537) 2023-12-30 05:29:03 +00:00
customizing-gitea.en-us.md Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
customizing-gitea.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
email-setup.en-us.md Docs: Replace deprecated IS_TLS_ENABLED mailer setting in email setup (#28205) 2023-11-25 10:16:29 +08:00
email-setup.zh-cn.md Fix links in docs (#28234) 2023-11-27 00:34:40 -05:00
environment-variables.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
environment-variables.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
external-renderers.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
external-renderers.zh-cn.md Fix documents for "custom/public/assets/" (#28465) 2023-12-14 08:52:16 +00:00
fail2ban-setup.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
fail2ban-setup.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
git-lfs-support.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
git-lfs-support.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
https-support.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
https-support.zh-cn.md Fix links in docs (#28302) 2023-12-01 19:42:42 +08:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) 2023-08-01 18:28:23 +00:00
logging-config.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
mail-templates.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
mail-templates.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
reverse-proxies.en-us.md Add docs section for sub-paths with the container registry (#27505) 2023-10-09 12:45:41 +08:00
reverse-proxies.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.en-us.md Fix the robots.txt path 2023-10-11 18:01:52 +08:00
search-engines-indexation.zh-cn.md Fix the robots.txt path 2023-10-11 18:01:52 +08:00
signing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00