Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gitlab set the merge request to use rebase instead of merge [duplicate]

Tags:

git

gitlab

Gitlab does a merge operation every time it merges, which seems very annoying. And there is no rebase button option. How do I set it up?

like image 865
wenyang.chou Avatar asked May 11 '26 19:05

wenyang.chou


1 Answers

Take a look at Settings -> General -> Merge requests. Here you can configure the merge options. If you configure a fast-forward merge, no merge commit is created and you get the rebase option if a merge conflict exists.

enter image description here

See detailed explanation of these options in the documentation.

like image 199
danielnelz Avatar answered May 14 '26 08:05

danielnelz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!