Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INCLUSIVITY: Change default branch from master to main #4

Open
mrmundt opened this issue Jun 23, 2022 · 2 comments
Open

INCLUSIVITY: Change default branch from master to main #4

mrmundt opened this issue Jun 23, 2022 · 2 comments

Comments

@mrmundt
Copy link
Contributor

mrmundt commented Jun 23, 2022

In support of using more inclusive language, I recommend that efforts be taken across all of bssw-psip repositories to change the default branches from master to main.

@gonsie
Copy link
Member

gonsie commented Jun 24, 2022

I'm happy to do this (I have admin) or give you admin to achieve the change. GitHub has an easy interface to rename, there are some caveats (from the dialog box):

Renaming this branch:

  • Will unpublish current GitHub Pages site
    Your current GitHub Pages site will become unpublished. A new commit on the renamed branch will publish the GitHub Pages site again.
  • Will not update your members' local environments.
    Your members will have to manually update their local environments. We'll let them know when they visit the repository, or you can share the following commands.
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
Rename branch

@mrmundt
Copy link
Contributor Author

mrmundt commented Jun 27, 2022

@gonsie - Whichever you would prefer, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants