Change the default branch name from master to main
Related: https://gitlab.com/gitlab-org/gitlab/-/issues/221014. Inspired by https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/ and gitlab-shell#489 (closed)
Current status: planning.
-
Create main
branch frommaster
-
Update default branch to main
in repository settings and set protected branch -
Update all open merge requests to point to main
-
Update .gitlab-ci.yml
and documentation -
Update all downstream users of master
-
Omnibus -
CNG (see gitlab-shell gitlab-shell#489 (closed) for examples) -
GCK gitlab-compose-kit!143 (merged) -
GDK ? -
GitLab docs -
Security group mirror's default branch + protected branch settings -
Dev instance mirror's default branch + protected branch settings -
GitHub instance's default branch -
CodeClimate ?
-
-
Delete master
so we no longer have to keep it up to date