-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Renaming of the default branch to main
#15623
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
Comments
As discussed in chat, this is what we'd like to do. A note for when the branch is changed is that when it is run a bunch of CI runs will happen at once so a bunch of jobs will need to be cancelled, also that branch protection would need to be updated. Two things that need to happen prior to making the change, 1. the drone yaml (as mentioned above), and 2. a redirect for dl.gitea.io for where the bleeding edge binaries are stored. I'm happy with this change as I updated a bunch of my local tooling to adapt to many other forges/repos making this change and I have my gitea stuff pinned to an older version of my scripts so updating this repo would mean I could update those too. |
so maybe we need a vote to decide whether we need rename |
I would stick to git's default which is still |
yes, it still is, for now anyway. For my personal stuff I usually now just go with Ultimately it's not too much work to change it right away, the branch changes in |
The work that needs to be done won't change. I do not see how I would like to emphasise the motivations for this change again which boils down to values. |
yeah, no worries...a demonstration of git's default branch warning/info message? the point being along the lines of "they are also considering a change, why not wait until it's the default". it's only related to the default branch of this repo in that the versioning tool's default is something and we're talking something else. of course the decision to change this project's default branch has little to do with whatever the current versioning tool's default value is. |
Maybe this is a misunderstanding for some here - the default branch for new gitea repos is already This is about the default branch of this GitHub repo :) |
oh no, I get it perfectly. I don't know why I have the weird thing in my head that says let's wait for git to change the default so that it really is a new standard default branch name (FWIW they could absolutely settle for a different default than main and now the whole world is stuck with it), but it's absolutely any project's decision to use anything as their default branch. so the line of reasoning is to pick a sane new default that won't be changing anytime soon |
what would this do in terms of backward compatibility, though? |
Given the well-known reasons for getting rid of the term
master
for branches in programming, I would like to push the idea of doing so in this repository.GitHub default branch renaming is quite sophisticated and I'd expect little interruption for users.
Maintainers would need to make adjustments to CI runners eventually.
The text was updated successfully, but these errors were encountered: