-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Rename master
branch to main
#2799
Comments
Go for it! |
This is just a solution in search of a problem. And implementing it is going to cause problems for everyone who has the code forked. |
@jsumners I don't agree, if you are maintaining a fork for a pr changing the base branch is the same as changing it when targeting the wrong branch or when we switch from |
The tooling provided by github is going to do all the rebasing automatically, it would also allow the old references to continue working. We can also wait for Node.js core to switch for example and validate the approach. |
Not even sure it is necessary |
Latest GitHub news about this: https://github.blog/changelog/2021-01-19-support-for-renaming-an-existing-branch/ |
May I go for this one |
Yes, of course I would suggest this roadmap:
This worked well *to update the local references:
|
The website integration would need to be fixed. |
This was done |
Any plans to do this for any of the 93 remaining fastify repos that use a master branch? |
@10xLaCroixDrinker possibly, but it really depends on admins time. There are no tools to massively change github settings inside and org. |
@mcollina would PRs to update references to master within those repos actions, scripts, docs etc, be helpful to work toward that? |
Realistically yes, but it's still a lot of effort to rename the repos and test it all works correctly. I'd recommend opening a fresh issue. |
As titled.
It should not be a problem here, but the documentation build should be updated.
Related: https://github.com/github/renaming
/cc @lmammino
The text was updated successfully, but these errors were encountered: