Skip to content

Rename default branch to main #32

@BenjaminMichaelis

Description

@BenjaminMichaelis

Specific instructions can be viewed here: https://github.com/github/renaming#rename-existing

  • Code owner needs to rename default branch from master to main

  • Check and update and correlated actions that refer to branch 'master'

  • If you have a fork and/or local clone, here are the steps you need to take:

    • Navigate to your fork on GitHub, go to the Settings tab, then the Branches tab, and then under Default branch, click the pencil icon to rename the default branch to main.
  • If you have a local clone, run the following commands in Git Bash:

git branch -m master main
git fetch origin
git branch -u origin/main main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions