-
Notifications
You must be signed in to change notification settings - Fork 8.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
Branch rename: master -> main #6739
Comments
PowerShell/PowerShell#12951 (comment) suggests that GitHub might do something to make renaming less disruptive. It may be better to wait for that. |
I'm in support of this, and will assign myself. If there's the possibility that MSFT will roll out a self-service tool that'll properly update refs, PRs, and internal forks I'd prefer to wait for that. |
This commit fixes up all references to `master` in the source, docs, specs and comments. Related to #6739.
We now have a self-service tool that'll do this and retarget all open PRs and stuff, so here goes! (I'll press it once #7985 merges.) |
👍 That’s great news! Thanks for staying on top of this - looks like it should be pretty smooth
|
This comment has been minimized.
This comment has been minimized.
Done! |
Description of the new feature/enhancement
I know that there could be a decent amount of effort involved in this for a repos with such a large footprint, but I think there's no time like the present to "commit" ourselves (oh god the pun! the 🔥) to (seriously) Doing Better as people, developers, and as global citizens.
I propose renaming the current
master
branch tomain
as an acknowledgement of the community's commitment to recognizing the existence of racial injustice. However small or trivial an act it may seem to some, I feel that it's a worthwhile undertaking.As a phrase I'm oft known to cite goes, "excellence is a game of inches".
The IETF presents a detailed discussion of the reasons why this it is important to note the terminology of branch names, and should be considered a highly useful resource for basing any discussions around context, pertinence, or applicability.
Proposed technical implementation details (optional)
Just spitballing OTOMH the things that might be considered as part of executing on this. Obviously, whomever does this would need to have appropriate repos perms :)
main
branch via operation withmaster
checked out viagit branch -m master main
(note the-m
to keep history intact)main
originmaster
tomain
main
branch protection, security, etc rules in GH5a. Archive/lock or otherwise deprecate
master
branchThe text was updated successfully, but these errors were encountered: