Per branch MR method settings

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Problem to solve

In a single project, the above customer would like to set the merge request method on a per-branch basis:

Gitlab supports MR settings globally per project, extending it to be per protected branch is something we'd like to see in future versions.

With that, we can allow non-FF merges into dev branches, and require FF-only for prod branches to guarantee that only tested and verifying commits are deployed

I found similar issues to only fine-grain the approvals here: https://gitlab.com/gitlab-org/gitlab-ee/issues/2371 and https://gitlab.com/gitlab-org/gitlab-ee/issues/460

Proposal

Add merge method to protected branch settings, that would override the default project merge method.

Links / references

ZD: https://gitlab.zendesk.com/agent/tickets/99857

Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading