Change branch name in GitHub #project #communication
+1 to waiting for consensus and tooling to make this trivial on existing repos.
I will make a proposal to switch to main as the default branch name to the GA, and post an update when a decision is made.
|
|
1)
|
|
Matteo Lissandrini (AAU)
Hi Tomas,
I think I can reassure you on practical issues: 1) so Github is already working on this: https://twitter.com/natfriedman/status/1271253144442253312?ref_src=twsrc%5Etfw 2) the rename is maybe an issue for existing local branches/forks/clones with active changes, which I would guess are at best a handful. 3) when we create a new repo on github, creating the appropriate branch and delete master is probably a matter of five minutes? Instructions to change the default branch exist already: a) On github: https://help.github.com/en/github/administering-a-repository/setting-the-default-branch b) On local&github: https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx c) automatically on new repos: https://superuser.com/a/1559582/762700 Thanks, Matteo --- Matteo Lissandrini Department of Computer Science Aalborg University http://people.cs.aau.dk/~matteo ________________________________________ From: main@bonsai.groups.io <main@bonsai.groups.io> on behalf of tomas Navarrete via groups.io <tomas.navarrete=list.lu@groups.io> Sent: 17 June 2020 17:07:20 To: main@bonsai.groups.io Subject: Re: [bonsai] Change branch name in GitHub #communication #project Dear All, I totally understand the reason behind the wish to change names. Now, beware that: The default branch name in Git is master.git-scm.com/book<https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell#ch03-git-branching> so, every time we create a new repo, or initialize one, we'll need to update this behavior (MAYBE until github does something about it ... which is funny, because they kind of have a dominating position in the "free git hosting" namespace ;) ) For very practical reasons, I would stand against renaming existing repositories and only apply a name change on newly created ones, and loudly anounce this in the README of the repo. If this (default branch name) is configurable, then we should look to implement a name that is fine with us. cheers,
|
|
Dear All,
I totally understand the reason behind the wish to change names. Now, beware that: > The default branch name in Git is master .git-scm.com/book so, every time we create a new repo, or initialize one, we'll need to update this behavior (MAYBE until github does something about it ... which is funny, because they kind of have a dominating position in the "free git hosting" namespace ;) ) For very practical reasons, I would stand against renaming existing repositories and only apply a name change on newly created ones, and loudly anounce this in the README of the repo. If this (default branch name) is configurable, then we should look to implement a name that is fine with us. cheers,
|
|
I agree; I think 'main' actually is more precise (master has the connotation of dominance, irrespectively of the imperialist etymology)
|
|
Matteo Lissandrini (AAU)
Thanks for the support Massimo!
To be honest me neither, but alas the fact that *we* don't do that association is quite at the core of the matter. As you say, it is definitely not about what we mean but about other people being unduly hurt. Best, Matteo --- Matteo Lissandrini Department of Computer Science Aalborg University http://people.cs.aau.dk/~matteo ________________________________________ From: main@bonsai.groups.io <main@bonsai.groups.io> on behalf of Massimo Pizzol via groups.io <massimo=plan.aau.dk@groups.io> Sent: 16 June 2020 09:44:02 To: main@bonsai.groups.io Subject: Re: [bonsai] Change branch name in GitHub #communication #project To be completely honest, I had never before this mail associated the word “master-branch” to the master/slave relationship. But I can see some can make this association and find the name inappropriate. It is OK for me to change the branch name to “main” or similar. Basically it does not cost us any effort, and if this can avoid other people feel bad then…why not. Massimo From: <main@bonsai.groups.io> on behalf of "Matteo Lissandrini (AAU) via groups.io" <matteo=cs.aau.dk@groups.io> Reply-To: "main@bonsai.groups.io" <main@bonsai.groups.io> Date: Tuesday, 16 June 2020 at 09.32 To: "main@bonsai.groups.io" <main@bonsai.groups.io> Subject: [bonsai] Change branch name in GitHub #communication #project Hi all, I would like to propose we change branch names in our github repositories away from `master`. Here some more pointers about this proposal. ``` Language and words have a power and, unfortunately, some words and terminology we have historically used in technology (and in everyday conversation) are not neutral - they have an inadvertent and inherent ability to hurt some sections of our society. ``` https://dev.to/horus_kol/renaming-your-master-branch-2a37 ``` Master-slave is an oppressive metaphor that will and should never become fully detached from history. Aside from being unprofessional and oppressive it stifles participation according to Eglash: “If the master-slave metaphor affected these tough-minded engineers who had the gumption to make it through a technical career back in the days when they may have been the only black persons in their classes, what impact might it have on black students who are debating whether or not to enter science and technology careers at all?” ``` https://tools.ietf.org/id/draft-knodel-terminology-00.html I believe is in everybody's interest to move to a more inclusive language. Best, Matteo
|
|
Massimo Pizzol
To be completely honest, I had never before this mail associated the word “master-branch” to the master/slave relationship. But I can see some can make this association and find the name inappropriate.
Basically it does not cost us any effort, and if this can avoid other people feel bad then…why not.
Massimo
From: <main@bonsai.groups.io> on behalf of "Matteo Lissandrini (AAU) via groups.io" <matteo@...>
Hi all,
|
|
Matteo Lissandrini (AAU)
Hi all,
I would like to propose we change branch names in our github repositories away from `master`. Here some more pointers about this proposal. ``` Language and words have a power and, unfortunately, some words and terminology we have historically used in technology (and in everyday conversation) are not neutral - they have an inadvertent and inherent ability to hurt some sections of our society. ``` https://dev.to/horus_kol/renaming-your-master-branch-2a37 ``` Master-slave is an oppressive metaphor that will and should never become fully detached from history. Aside from being unprofessional and oppressive it stifles participation according to Eglash: “If the master-slave metaphor affected these tough-minded engineers who had the gumption to make it through a technical career back in the days when they may have been the only black persons in their classes, what impact might it have on black students who are debating whether or not to enter science and technology careers at all?” ``` https://tools.ietf.org/id/draft-knodel-terminology-00.html I believe is in everybody's interest to move to a more inclusive language. Best, Matteo
|
|