Juh_
Juh_

Reputation: 15539

Is it possible to block merge request that have commit behind in gitlab?

In gitlab, I'd like to block merge request when the requested branch has some commit behind. So that the requester have to merge/rebase again (+ test)

Is it possible to configure gitlab to enforce that?

Upvotes: 1

Views: 1604

Answers (1)

Basile B
Basile B

Reputation: 26

Feature reference

To achieve this, set the merge method to Fast-forward merge: gitlab won't create merge commit and thus the branch to merge should contain all commit of the destination branch

Upvotes: 1

Related Questions