by nirui · 1y ago · 0 comments
The word "master" means someone/thing that has the capability of controlling things, like "Mastered", "Master Degree" etc.
But in most Git contexts, "master" is just "one of the breach that we hand picked to put our finest results in", that's not mastering anything, it just means "if you know what's best for you (or not), just use this one".
Another similar wording is in IDE hard drives. Remember the fun time where you can to setup jumpers before your secondary IDE hard drive would work? Yeah that secondary drive is called "slave". I'm still confused why the first drive must be called "master" since I never see it whipping any other drives to make them work harder or really doing anything that's remotely controlling.
The computer guys in the old times really have a weird taste in naming things.
I really don't care if it's main or master tbh. But is anyone actually offended?
[0] https://en.wikipedia.org/wiki/Master%E2%80%93slave_(technolo...
Where the master terminology comes in is that a certain version of ATA added bus mastering DMA from the drive. Maybe some harddisks had a jumper to disable or enable that
I don’t say this to justify sticking with the older terms, just to assert that they were actually used.
So you have IDE0, primary, and IDE1, secondary. For the four devices a typical system would support, they would be referred to as primary master, primary slave, secondary master and secondary slave. This was extremely accepted terminology.
Newer machines and BIOSes could usually boot from any of these four devices but originally, many machines could only boot the primary master. That's why it's the master and the other one is the slave -- it is subservient in the sense that it can not be a boot drive and was usually used for secondary storage, not OS.
The word "master" stems from Latin, meaning "great" or "teacher". Just as teachers pass on knowledge to students, data is copied from the master.
Any slavery related connotations is insanely recent, and arguably manufactured specifically for the purpose of linguistic censorship. Historically, slave owners were referred to as... owners.
> Just as teachers pass on knowledge to students, data is copied from the master.
In the Git context, the "canonical" way to use git is that you merge/copy data _from_ other branches, such as `wip` or `dev`, _back to_ `master` or `main`, not the other way around.
All and all, it's done, OK? Don't like it? Hey, you can still use "master", just customize it. But you'll probably piss some people if you do, and then you have to dig out your dictionary again and again. Choice wisely.