Reputation: 15539
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
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
merge method
Fast-forward merge