Jump to content

GitHub to replace 'master' with 'main' starting next month


Recommended Posts

All new Git repositories on GitHub will be named "main" instead of "master" starting October 1, 2020.




Starting next month, all new source code repositories created on GitHub will be named "main" instead of "master" as part of the company's effort to remove unnecessary references to slavery and replace them with more inclusive terms.


GitHub repositories are where users and companies store and synchronize their source code projects.


By default, GitHub uses the term "master" for the primary version of a source code repository. Developers make copies of the "master" on their computers into which they add their own code, and then merge the changes back into the "master" repo.



"On October 1, 2020, any new repositories you create will use main as the default branch, instead of master," the company said.


Existing repositories that have "master" set as the default branch will be left as is.


"For existing repositories, renaming the default branch today causes a set of challenges," GitHub explained in a support page published earlier this month, such as having to edit settings for pull requests and modifying security policies.


"By the end of the year, we'll make it seamless for existing repositories to rename their default branch," GitHub said.



"When you rename the branch, we'll retarget your open PRs and draft releases, move your branch protection policies, and more - all automatically."

GitHub promised in June

The company's move is part of a bigger trend in the tech community.


After the brutal death of George Floyd and the Black Lives Matter protests earlier this year, tech companies wanted to show their support for the black community by abandoning non-inclusive terms such as master, slave, blacklist, and whitelist.


Companies and major open source projects like Microsoft, IBMTwitterRed HatMySQL, the Linux kernel, and OpenBSD have agreed to make changes to their technical jargon all through the 2020 summer.


GitHub was one of the first companies to show support for such changes when its CEO revealed in June that they were already looking for a replacement for "master."


The company's announcement earlier this month comes to deliver on its CEO's promise.


Furthermore, the Git project, which is the base software on which GitHub was built, has also announced similar plans to at least provide repository owners with the option to customize their default repository branch going forward.



Link to post
Share on other sites

Github..... are really making a statement!, hope they realize  how STUPID they sound, another case of stupid Smart people

Has to be the dumbest announcement ever!!!


They better stop MASTERBATING  it's obviously effecting them 😷



Link to post
Share on other sites

It is easier, cheaper, and especially more fruitful towards marketing purposes and public image of a company to pull stunts like these, than be an actual rebel crusader.


I'd doubt there is any corporation out there that is even bothered to think about this subject out of the kindness of their hearts, or a firm belief in corporate social responsibility.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...