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 the master branch to main #239
Conversation
ddfce51
to
2f41cb3
Compare
|
There are currently still five hits for |
|
WARNING!!! This PR is not attached to an issue. In most cases this is not advisable. Please see our PR docs for more information about how to attach this PR to an issue. |
|
Have you considered calling it "develop" ? |
I guess my thinking was that in the past the presence of a "develop" branch has implied a specific workflow involving both a "develop" and a "master" branch. But if other projects are now using "develop" instead of "master", I am fine with going along with that for consistency. If I have noticed correctly the foreman-ansible-modules appear to have gone this route. |
I have looked in the internet a bit and usually people go whether with main or develop. I think this is matter of preference in the end of the day and you should call the shots 🍹 |
[noissue]
2f41cb3
to
fd4ba34
Compare
I guess I prefer "main". Statements like: "When working with Git repositories everyone wants to merge their changes into the main branch" or "PRs are opened against the main branch" just make the most sense to me with "main". I also like consistency, so if I ever find the rest of the project has all moved to "devel", I may revise my personal policy. 😜 |
[noissue]
With this change, I will need to push a new branch
main, change the repositories default branch to it, add the branch protection rule, and finally delete themasterbranch.mainbranch to the repo.mainbranch.mainbranch.mainbranch the default branch.masterbranch.