-
Notifications
You must be signed in to change notification settings - Fork 723
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
#2286
Comments
If we do this, I think we should find out what comparable projects have made the same kind of transition, so we can learn from any pitfalls they encountered. |
Renaming this sounds ok to me fwiw. |
Note that AFAIK, github doesn't support symbolic refs. which means it's impossible to make the transition transparent to people with existing clones. |
Just a random idea: We could transition to Edit: I don't know if this is actually possible, but it sounds like it should be. |
I think this would be: git push origin origin/main:refs/heads/master |
I have created a new branch, I "tested" this within ferrous' fork of bindgen. Please let me know if there are any concerns. |
@amanjeev is this workflow being triggered if someone opens a PR against main? because I think it should only run on pushes to main |
@pvdrz and I chatted and it seems my solution had "pull_request" trigger too which we do not want. I have removed it. I will open a PR soon. |
In the light of continuing removing outright offensive language from the project, consider renaming
master
tomain
.Earlier discussion about offensive words was in #1812
Things that might break:
Note:
master
andmain
runs into the issue that there may be branches out there that rely on pulling master. A solution can be a symbolic-ref:git symbolic-ref refs/heads/master refs/heads/main
The text was updated successfully, but these errors were encountered: