-
Notifications
You must be signed in to change notification settings - Fork 100
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
Let's change the name of the default branch to "main" #421
Comments
👍 from me. |
From a technical point of view an organisation owner of @fortran-lang or a member with administrator access scope can make the default branch rename at https://github.com/fortran-lang/fpm/settings/branches. Usually additional migrations are required:
|
I'm all for migrating the default branch name, but I don't think it makes much sense unless it happens for all @fortran-lang repositories. |
We should do it for all repos but it doesn't need to happen all at once. For the transition, instead of renaming "master" -> "main" in the settings, do you think this flow would work:
|
@milancurcic the workflow you outlined is what I've done on other repositories where I've made this change. |
It seems that GitHub is offering a somewhat more seamless way of renaming branches, which will automatically create a redirect from "master" to the new branch name. This only leaves step 2 as a follow-up to the renaming, everything else will be automatic. I'm happy to start with doing the necessary changes for fpm and we can evaluate how this strategy works out in practice before taking on the other repositories. |
fine for me! |
@awvwgk Wonderful, I didn't know about it. Sounds like the way to go. |
Just did the renaming, let me know if it works as expected. |
Here is what I did to update my local git repository (I'm using
|
Please see https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/.
Beside fpm those repositories are currently using master as name for the default branch
The text was updated successfully, but these errors were encountered: