Brig back master after upgrade

Hi there!

I have just updated GitLab Community to the latest version and found out the new default branch in newly created projects is now called “main”.

I can’t find the setting to configure it back to the previous name of “master”. How can I change it back to the previous behaviour?

Thank you


Yes, you will need to login as Admin on your gitlab install. Then choose the menu Admin → Settings → Repository → Default Initial Branch Name (expand)

then put master in the box and save the changes.

Finally found it! Thanks!!!