[go: up one dir, main page]

Skip to content

Introduce settings configuration for rebase and merge with one click

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

Problem to Solve

In some cases, it may not be desirable to automatically rebase and merge a merge request. This could be because the pipelines are very old, or the commits will be rewritten and lose signatures, or any other reason a user may not want this to happen.

Proposal

We need to introduce some new settings to make this a configuration option - either decided at the time of merge, or decided for the project entirely.

Option 1

A new setting is introduced in the merge method that either enables or disables this behavior globally if a merge method that supports automatic rebase is being used:

Screenshot_2025-09-15_at_3.14.44_PM

Option 2

Introduce a new section that allows more advanced configuration of the rebase options (similar to existing squash options):

Screenshot_2025-09-15_at_3.17.14_PM

Edited by 🤖 GitLab Bot 🤖