The master in Git also makes black friends sensitive? Netizen: Wait for Linus to spray

(Star those things about programmers)

Recently, a large number of open source projects have modified the Blacklist and Whitelist in the source code. Please see our tweet before the public account " Protests in the United States, Naming in the Program ".


The influence of the affirmative movement on the technology circle is still ongoing. After IBM announced its withdrawal from the facial recognition market a few days ago, Amazon and Microsoft also announced the suspension of the provision of facial recognition services to law enforcement agencies.

The lady programmer called on the master in Git to be changed to main

On June 12, there was a hot post on Twitter. A programmer lady sister Una Kravets called GitHub, suggesting that the default branch name in git should be changed to main.

Her reason for modification:


> 1. main is shorter and concise!
> 2. Easier to remember;
> 3. If any of my teammates are comfortable, then start!
> 4. It will not even make black people feel more isolated in the technology world;

on the same day, the CEO of GitHub responded: "The proposal is very good, we are already doing it!" 


Of course, the proposal to change master in Git to main is not initiated by Miss Una. On June 8, the well-known technology blogger Scott Hanselman issued an appeal.

Objection! The master in Git has nothing to do with slavery

Although the CEO of GitHub supports Una's proposal, there are many objections. Judging from the intuitive reaction of most people, it doesn't matter.

You changed main but broke my project

The developer of React Refresh Webpack Plugin supports master to change main and has already taken action.

On June 11th, the programmer's brother imbaniac posted in the issues of the plug-in, asking why the plug-in author changed to main.

> In the Git context, the way the master is used has nothing to do with master/slave! I have never heard of a branch called slave.

> For those existing projects, consider the global workload from origin/master to origin/main. The cost of modifying technical books, tutorials, and blogs that are different from Git conventions... Is it worth it?

> My 3 projects all use your library, and since you changed it to main, they all crashed. ????
> I am glad I don't have a master degree!


(His point of view has gotten more than ????)

In the reply in his issues, I saw a link leading to an old post from the GNOME community on May 4, 2019, which was also discussing the revision of the master.

https://mail.gnome.org/archives/desktop-devel-list/2019-May/msg00066.html

Why is Git's default branch name called master?

In response to this problem, Bastien Nocera tried to trace the root cause.

He found that Git may be affected by BitKeeper. BitKeeper has used master and slave repository.

Perhaps only Linus, the father of Git, knows the answer to this question. I don't know if he will breathe fragrance.

(I will look at you quietly)

Reviews

- EOF -

Recommended reading Click the title to jump

1. MATLAB is banned in Harbin Institute of Technology/Harbin Engineering, and there are still many areas where the neck is stuck

2. Zhihu didn't tell you: how difficult it is to earn a million a year

3. June programming rankings: C first, Rust first in the Top 20

Pay attention to "the programmer's things" star, don't miss the circle

Inside the circle, I'm watching ❤️

Guess you like

Origin blog.csdn.net/P5dEyT322JACS/article/details/106740439