News for hackers. Stuff that matters.
Re:Show HN: git-rename-master-branch-to-main by timeattack on Wednesday July 01, 2020 @05:25PM (#23706900)
Ironically, this repository has `master` branch, not `main`.
Re:Show HN: git-rename-master-branch-to-main by llagerlof on Thursday July 02, 2020 @09:22AM (#23712816)
Not eating his own dog food.
Re:Show HN: git-rename-master-branch-to-main by jph on Thursday July 02, 2020 @12:58PM (#23715287)
Fixed thank you!
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 tlb on Wednesday July 01, 2020 @01:35AM (#23698094)
What needs to be done for other people who've checked out the repo on the master branch?
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.
Re:Show HN: git-rename-master-branch-to-main by aayala on Wednesday July 01, 2020 @12:48AM (#23697834)
rename things doesn’t solve the problems, there are no bad words just bad intentions