News for hackers. Stuff that matters.
Re:GitHub abandons 'master' and 'slave' terms to avoid row by cooper12 on Monday June 15, 2020 @03:01PM (#23531523)
Naming the default branch "master" is only a convention, not a requirement. Therefore, docs should not make any assumption about the name but give it as an example or <variable>. The deficiency here is clearly in the docs.
Re:GitHub abandons 'master' and 'slave' terms to avoid row by ivan_gammel on Monday June 15, 2020 @03:10PM (#23531662)
This. Poor choice of the original name was codified as some law, but it has never been a law and it’s time to clean up. I have seen discussions around the topic: “we have the master branch, what should we store there?” Semantics of the name were lost long time ago and it became just a random magic string in a ritual, which is not easy to explain or understand.
Re:GitHub abandons 'master' and 'slave' terms to avoid row by bonzini on Monday June 15, 2020 @03:07PM (#23531616)
You said that: any example that uses "git rebase origin/master" would be broken.
Re:GitHub abandons 'master' and 'slave' terms to avoid row by komali2 on Monday June 15, 2020 @03:13PM (#23531720)
Only if a project has used master as the main branch. We use "develop" for whatever reason and "master" (created by default by gitlab) hasn't updated since initial commit.

I agree that teams should be making these decisions on their own. It's just a branch name.

Re:GitHub abandons 'master' and 'slave' terms to avoid row by ivan_gammel on Monday June 15, 2020 @03:13PM (#23531718)
It will not be broken, it will be just an example for a random branch with a strange name. People which are not able to understand the abstraction and to apply it to their own repository structure, must choose another job.