DEV Community

Discussion on: Replacing master in git

lucsrods profile image
Lucas A. Rodrigues

Reading this post I got really curious to find more about if the word master in git had relation with the master/slave terminology in tech. If you go to github.com/git/git, clone it and run git log -p --grep=slave, you'll see it does.

So yes, there is slave in git and it comes from master/slave wording. ¯_(ツ)_/¯

Thread Thread
dimasmagadan profile image
Dmitriy

Ok, you rename that poor master branch
But what you gonna do with this?
github.com/search?q=slave

Thread Thread
lucsrods profile image
Lucas A. Rodrigues

I'll do nothing at all. I just argued against your paragraph where you strongly said that the term's origin wasn't related to something, but it is, without providing sources. Which words people choose to have in their repositories/codebase is something that might reflect on their careers not mine. So, ask them.

Some comments have been hidden by the post's author - find out more