-
Couldn't load subscription status.
- Fork 11
Open
Description
Many teams want to rename their repos from master to main.
Here's an incomplete list of repositories we want to rename:
-
rust#t-infra > Renaming the master branch for rust-lang/rust -
simpleinfra -
infra-teamRenamemastertomain#228 -
rustupMove the default branch frommastertomainrustup#4511 -
teamrename default branch to main team#2034 - ...
How to
Here's the procedure for renaming the branch (things need to be done in this order):
- Change the branch name in the GitHub settings of the repo
- Update "Deployment branches and tags" restrictions in GitHub environments settings.
- Update CI roles (e.g. update ci role rustup branch simpleinfra#796)
- Change the CI workflows and other references to the
masterbranch (e.g. Move the default branch frommastertomainrustup#4511) - Change the team repo references to the
masterbranch (e.g. Rename default branch of rustup tomainteam#2010)
Related
Metadata
Metadata
Assignees
Labels
No labels