Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Switch to 'main' as default branch #21

Closed
michaelgoin opened this issue Aug 4, 2020 · 0 comments
Closed

Switch to 'main' as default branch #21

michaelgoin opened this issue Aug 4, 2020 · 0 comments

Comments

@michaelgoin
Copy link
Member

We've settled on main as the new default branch name.

This will involve creating and migrating to the new branch before deleting the prior. We'll also want to ensure we change the base of any existing PR's etc.

Hanselman has some helpful instructions on the blog: https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx. I'm sure there are other useful resources out there as well.

  • Change the base of all open PRs (do this first or risk auto-closing when change default)
  • Change default branch in repo settings
  • Copy master branch protection rules to main
  • Setup Snyk to use main
  • Edit any release documents to reference main instead of master (sometimes recommend doing via separate PR to exercise snyk/etc on new branch).
  • Delete master branch once all good.
@michaelgoin michaelgoin added this to To do in mysql - OSS & CLI Migration via automation Aug 4, 2020
@nijotz nijotz moved this from To do to In progress in mysql - OSS & CLI Migration Aug 5, 2020
@nijotz nijotz self-assigned this Aug 5, 2020
@nijotz nijotz moved this from In progress to To do in mysql - OSS & CLI Migration Aug 5, 2020
@nijotz nijotz removed their assignment Aug 5, 2020
@carlo-808 carlo-808 moved this from To do to In progress in mysql - OSS & CLI Migration Aug 5, 2020
@carlo-808 carlo-808 self-assigned this Aug 5, 2020
@carlo-808 carlo-808 moved this from In progress to Needs Review in mysql - OSS & CLI Migration Aug 6, 2020
@carlo-808 carlo-808 moved this from Needs Review to Done in mysql - OSS & CLI Migration Aug 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants