GitHub change of master to main from October

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

For those unfamiliar with GitHub repositories, users and companies can store and sync source code projects.

By default, GitHub uses the term "master" for the main version of a source code repository. Developers can make copies of the "master" on their computers to get the project locally and add their own code. Then they synchronize the changes back to the "master" repo.

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

Existing repositories that already have the "master" as the default branch will remain as they are.

"For existing repositories, renaming the default branch causes a lot of challenges," GitHub explains in a support page published earlier this month, as the need of settings for pull requests and modification of security policies.

"By the end of the year, you will be able to rename existing repositories," says GitHub.

"When you rename the branch, we'll redefine all open pull requests and drafts, move protection policies and more - all automatically."

The company's move is part of a larger trend in the technology community.

After the death of George Floyd and his protests earlier this year, tech companies wanted to show their support for the black community by ditching the racist terms master, slave, and whitelist.

Companies and large open source projects such as Microsoft, IBM, Twitter, Red Hat, MySQL, the and OpenBSD have agreed to make changes to their technical terminology during the summer of 2020.

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

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

In addition, the Git project, which is the basic software on which GitHub was built, has also announced similar plans.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).