Software

GitLab: set a branch as default target for merge requests

Do you also find it tedious to have to change the target branch, each time you create a merge request? Or worse, the @#$% moment when you realise you forgot to change it from the default master/main at all?

To avoid such inconvenience in the future, you can set another default branch in Settings => Repository => Branch defaults.

Repository settings in GitLab

Back


Comments

No comment yet.

A remark, a suggestion? Do not hesitate to express yourself below. Just be courteous and polite, please.

If this field is left blank, you will appear as Anonymous.