Skip to content

Rename default branch from "master" to "main" - #492

Merged
ambv merged 1 commit into
python:mainfrom
hugovk:rename-master-to-main
Jun 15, 2023
Merged

Rename default branch from "master" to "main"#492
ambv merged 1 commit into
python:mainfrom
hugovk:rename-master-to-main

Conversation

@hugovk

Copy link
Copy Markdown
Member

To match most of the other https://github.com/python repos, let's use main as the default branch.

Please could @python/organization-owners rename it?

Docs here:

@CAM-Gerlach

CAM-Gerlach commented Jan 23, 2023

Copy link
Copy Markdown
Member

While they're at it, could they also complete the other two items from #460that are still waiting for an org admin's intervention? I've asked around and I couldn't find anyone who was a repo admin here specifically.

  • Enable tag protection for *
  • Rename master to main
  • Add a branch protection rule for * with the settings in this screenshot:

image

And maybe those mentioned in the linked comment in Bedevere too (or at least all but the last step)?

@hugovk

Copy link
Copy Markdown
MemberAuthor

(Converting to draft until the branch is updated.)

@hugovk
hugovk marked this pull request as draft February 1, 2023 16:55
@ambv
ambv marked this pull request as ready for review June 15, 2023 14:44
@ambv
ambv merged commit 9ea7fc6 into python:mainJun 15, 2023
@hugovk
hugovk deleted the rename-master-to-main branch June 15, 2023 14:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@hugovk@CAM-Gerlach@ezio-melotti@ambv