Re:Show HN: git-rename-master-branch-to-main
by g105b on Thursday July 02, 2020 @11:56AM
(#23714677)
I have noticed a lot of people talking about this change. Can anybody explain why we would want to rename the master branch? The only articles I see online are people claiming that the word master is racist.
Re:Show HN: git-rename-master-branch-to-main
by jph on Thursday July 02, 2020 @01:22PM
(#23715605)
What I've seen personally is the rename started with the terminology of "master/slave" such as for database replication. This is happening now and at speed because of Black Live Matter and related progressive movements.
My clients are changing terminology from "master/slave" to "main/replica", and from there it's an easy step to changing terminology from "master" to "main" everywhere else including git.
My clients are doing related kinds of word changes, such as changing security terminology from colors "white/black" to functions "select/reject", and "whitelist/blacklist" to "allow/deny", and "white-hat/black-hat" to "ethical/criminal", etc.
Re:Show HN: git-rename-master-branch-to-main
by Doxin on Friday July 03, 2020 @09:57AM
(#23724068)
Nothing specific I don't think. All that has changed is the labeling of the most recent commit on the branch. Just keep doing your workflow as normal substituting "master" for "main" whenever you need to. e.g. for merges, rebases, and pull requests.
My clients are changing terminology from "master/slave" to "main/replica", and from there it's an easy step to changing terminology from "master" to "main" everywhere else including git.
My clients are doing related kinds of word changes, such as changing security terminology from colors "white/black" to functions "select/reject", and "whitelist/blacklist" to "allow/deny", and "white-hat/black-hat" to "ethical/criminal", etc.