GitHub change of master to main from October

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

For those who don't know in GitHub repositories users can and store and synchronize 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, such as the need to edit the settings for pull requests and modify 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 his death Floyd και των διαμαρτυριών του Black Lives Matter νωρίτερα αυτό το έτος, οι εταιρείες τεχνολογίας ήθελαν να δείξουν την υποστήριξή τους στη μαύρη κοινότητα εγκαταλείποντας τους ρατσιστικούς όρους, master, slave, blacklist και .

Companies and large open source projects such as Microsoft, IBM, Twitter, Red Hat, MySQL, the Linux kernel and 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.086 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.).