Changing master branch to main -- DONE!
OK, the deed is done: OSL's "master" branch has been renamed to "main".
There are three things you need to do:
1. If you have a fork of OSL on GitHub, when you visit the fork on the web, GitHub will have a handy pop-up reminding you that the branch has changed on our repo. It's easy to also rename the branch on your fork: Just click the "branches" button, click the little pencil icon next to your "master" branch to edit, and you will see a dialog about renaming.
2. For any of your local branches, do this to rename the branch locally:
git branch -m master main git fetch origin git branch -u origin/main main git remote set-head origin -a
If you have multiple remotes, you will need to do the same commands, but for your other remote name where this says "origin".
3. If you have any scripts or downstream projects that clone or pull from our "master" branch, you will have to edit the script to say "main". (References to any other tags or branch names will, of course, not change.)
Apologies if this causes any confusion or inconvenience. Please alert us here if there's any trouble, so that others can see what you did to fix it. Hopefully this will go smoothly for everybody; it was pretty easy for me on my machine.