The instructions for changing the default branch for a project hosted on Drupal.org are here:

https://www.drupal.org/docs/develop/managing-a-drupalorg-theme-module-or...

However, they don't work for me.

When I click on "Source code" in the project's right sidebar, there is no Settings menu with a gear icon.

There is "Repository" item in the left sidebar but there is no "Branch defaults" section.

Am I overlooking something?

Comments

gisle’s picture

You need to make sure you're signed in on GitLab as a maintainer of the project.

If you're not, the the "Settings" and the gear icon don't appear in the left sidebar. There is a "Sign in" link at top right.

When you're signed in, clicking on "Settings" brings up "Branch defaults" in the main contents section, and clicking on "Expand" let you set a new default branch.

- gisle