alphagov / govuk-frontend-docs

Technical documentation for GOV.UK Frontend
https://frontend.design-system.service.gov.uk/
35 stars 11 forks source link

Rename govuk-frontend-docs default branch to `main` #100

Closed vanitabarrett closed 3 years ago

vanitabarrett commented 3 years ago

What

Rename the master branch to main.

Why

Many communities on GitHub are considering renaming the default branch name of their repository from master, as this terminology can be offensive. Statements and guidance have been published by Git here and GitHub here.

New GitHub repositories use main as the name for the default branch, so it makes sense that we should follow this convention, as well as matching what other teams within GDS are doing so we are consistent.

Additional Info

GitHub have made it easier for teams to rename branches. When we rename the branch, we get the following for "free" without having to do anything ourselves:

Who needs to know about this

Developers

Steps to follow

Done when

vanitabarrett commented 3 years ago

Had to change the Netlify settings to change the 'production branch' to 'main'. Will update the steps for the design system to include this.