[go: up one dir, main page]

Skip to content

Default target branch for merge requests on a per branch basis

Problem to solve

Ability to specify the default target branch for merge requests on a per branch basis. Alternatively having to force select a target branch for merge requests (defaults to none).

Intended users

Developers

Further details

Usecase: Repository has releases

StableBranchX StableBranchX-next (feature that will go into StableBranchX) StableBranchY StableBranchY-next (feature that will go into StableBranchY)

The default merge request target branch for StableBranchX-next should be StableBranchX and for StableBranchY-next should be StableBranchY.

This way developers don't accidentally merge StableBranch*-next into the default branch.

Alternatively an option to not have a default target branch and forcing the developers to choose might work too.

Proposal

In the repository settings, expose an option to specify the default merge request target branch on a per branch basis... or have an option to force specify the target branch.

What is the type of buyer?

Core