-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Change the default branch name for new Rails projects from master
to main
#40214
Comments
Hey @jayqui thanks for opening this. We discussed this as a team awhile back and decided to wait until GitHub was finished building out the feature to make the transition smooth. We have a lot of open PRs and changing the branch name would mean none of those PRs are mergable without intervention from the original author which can cause quite a bit of friction. I will leave this issue open until we've made the switch. Thanks again! |
@jayqui I misunderstood you were also talking about what happens when you build a new Rails project. I think we can change that without waiting for the GitHub feature. Do you want to open a PR? |
Ah, I'd missed that distinction too. I slightly worry about ignoring someone's explicitly configured (If the report is that we ignore a relevant |
@eileencodes Here's a PR #40254 I've taken into account the user's |
I had some concerns about the approach here in this issue that I wrote about on the PR, I'll post them here as well.
Basically I think it's already viable to easily switch to I think it would be proper for |
This issue has been automatically marked as stale because it has not been commented on for at least three months. |
Discussion is ongoing in the PR. I'm new around here and unsure whether this issue should be re-opened. In any event, I cannot find a way to re-open it, so perhaps there's my answer. |
Steps to reproduce
Expected behavior
.git/HEAD should contain
ref: refs/heads/main
References
master
tomain
github/roadmap#63Actual behavior
.git/HEAD contains
ref: refs/heads/master
System configuration
Rails version: 6.0.3.3
Ruby version: 2.7.1p83
The text was updated successfully, but these errors were encountered: