Home > News content

GitHub will replace the term "master" with "main" from next month

via:博客园     time:2020/9/20 16:31:58     readed:64

Starting next month, all new source code warehouses created on the GitHub will be named "main" not" master", which represents the company's efforts to remove unnecessary slavery-related words and replace them with more inclusive terms. GitHub warehouse is where users and companies store and synchronize their source code items.

data-original=https://static.cnbetacdn.com/article/2020/09/8b24e94205e3046.png

GitHub use the word "master"" by default to represent the main version of the source code warehouse. The developer makes a copy of the master "on his computer, adds his code to it, and merges the changes back into the master" repo.

"For an existing code repository, there are a number of challenges to immediately rename the default branch ," GitHub explained in a support page released earlier this month, such as having to edit the requested settings and modify security policies.

"By the end of this year, we will have existing warehouses seamlessly rename their default branches and automatically complete the corresponding supporting work, all of which are automatic. "

The company's move is also part of a larger trend in the technology world. After the tragic death of George Floyd and the BLM protests earlier this year, technology companies wanted to express their support for the black community by abandoning non inclusive terms such as master, slave, blacklist and whitelist.

Companies such as Microsoft, IBM, twitter, red hat, mysql, Linux kernel and OpenBSD, as well as major open source projects, have agreed to change their technical terminology by the summer of 2020.

GitHub was one of the first companies to support the change, when its CEO revealed in June that they were already looking for "master" alternatives ," the company announced earlier this month to deliver on its CEO promises.

In addition, GIT project, which is the foundation software of GitHub, has announced similar plans to provide warehouse owners with the option of customizing default warehouse branches, at least in the future.

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments