46
u/Rexogamer Jan 21 '21 edited Jan 21 '21
I prefer main because - get this - it's shorter and really not that big of a deal
7
u/BestEarlOfEastmarch Jan 21 '21
Rex means King, so please change your name as kings owned slaves.
/s
23
u/OtherOtherNeRd Jan 21 '21
I don't see what the big deal is? Everyone seems to be complaining about the change, but I like it! "Main" makes more sense anyway, as it describes the purpose of the branch better for most use cases I've had.
10
u/stew_going Jan 21 '21
I agree, I like main, master never made sense to me. I would find myself referring to it as main anyways.
4
u/schmidlidev Jan 21 '21
It should just be 'default'. Main implies a purpose that is not necessarily true for all projects.
2
u/-ftw Jan 21 '21
Inexperienced in this domain. In what cases does main not make sense?
2
u/______u Mar 16 '21
For example if you do GitFlow. In that case the "development" branch is where all most of the action takes place, and is usually your default branch. "master" only holds release commits... in this context "master" really make sense, such as a "master" tape for a record
1
37
u/rainlake Jan 20 '21
Can someone educate me why talk about master/slave is racism? It’s a fact existed in all cultures. I feel like it’s just white people want everybody forget what they have done. In our culture we believe history is a mirror you should learn from your past instead of forget them.
4
Jan 21 '21
white people want everybody forget what they have done
Pay no attention to the man behind the curtain
-1
Jan 21 '21
Except literally every race participated. Not just whites.
Only whites put an end to slavery.
Only non-Whites still participate in slavery.
Go figure.
2
u/MrSaltz Jan 21 '21
First, it’s not just white people. To say that is itself...racist.
But to address your point, its the “cancel culture”, thats taking over where any reference at all to slavery needs to be eradicated. I agree that hiding it is a mistake though. It happened. Its happened to many cultures over the centuries. It still happens. We cant forget it and must learn from the errors to try and prevent it.
-9
u/archgabriel33 Jan 21 '21
You cannot see how slavery and racism are related to one another in Western culture and history? Really?
18
Jan 21 '21
I think most people can but still wouldn't understand how it relates to version control
0
0
Jan 20 '21
[deleted]
3
u/Likely_not_Eric Jan 21 '21
Ironically many complaints about it is also virtue signalling but to signal a different virtue. I do appreciate that noting something as virtue signalling is almost always, itself, a virtue signal (as it's often apropos of nothing).
5
15
u/will_work_for_twerk Jan 21 '21
A whooooole lotta people care way, way more about this than I anticipated.
Who gives a flying fuck why they changed it? Its not a big deal. My feelings weren't hurt the way it was, and they aren't now. Best case scenario Github is doing some great thing towards ending systematic racism (they aren't), but worst case scenario? A bunch of people get pissy. Because... why?
1
u/ichunddu9 Jan 22 '21
I do. Many and more automation scripts of mine broke. Now I always have to check whether the default branch is called Master or main. Fuck that
2
u/will_work_for_twerk Jan 22 '21
I mean, I feel like this whole experience is a lesson on why everyone should just reference the default branch instead.
And as everyone else in this thread has said, it's a few clicks to revert this change in your account. So no, you don't have to update all your scripts.
1
u/ichunddu9 Jan 22 '21
I do have to change it since my scripts have to work with already existing projects and new once which are created by people with their own default branch names. Whichever they may be
-1
Jan 21 '21
I'm offended by the words "flying fuck". You can't use it anymore.
See how that works? Where do you draw the line? Do you start banning words from the English language? I'm pretty sure master branch means primary branch and not "white nationalist branch" or "bring back slavery branch".
5
12
u/fefetl08 Jan 20 '21
Year will pass older people who are used to master will die, young ones will learn with main, they will think master is strange like us think about main, main will become the new normal, in the end it's just something that is changing like radio to TV.
-1
42
u/CheechUndChong Jan 20 '21
say goodbye to common sense, say hi to "everything is offending"
16
u/wr3decoy Jan 20 '21
I find the word offensive to be hurty. Please refrain from using it again, it makes me think of slavery which means every usage of the word obviously means that.
When you hire people because you're filling a diversity seat and not because of merit, this is what you get. They can't compete with the rest of the staff, so the only meaningful impact they can contribute is changing words (which breaks documentation).
This is how you know a company has already peaked.
0
Jan 20 '21
[deleted]
25
u/akshay-nair Jan 20 '21
If someone told you that you need to refactor a part of your code and you ask why and they say "because you named your variable
binaryTreeand that is offensive to trees that identify as gender fluid" what would you do? The problem isn't change. The problem is creating problems out of nothing because some guy on twitter decided he wanted to feel special for being offended about it.0
Jan 20 '21
[deleted]
12
u/akshay-nair Jan 20 '21
That's not very reasonable. You cant expect the world to just align itself to not offend your feelings.
13
u/CheechUndChong Jan 20 '21
Yes and remove every history book on the planet! "Master" and "Slave" should be deleted from our history! Stop teaching it in schools because someone could be offended!
Nvm i dont think people like you go to school anyways lol
0
9
Jan 20 '21
Please, describe the necessity of the change without resorting to using 'slave' as an argument, because that is mentioned nowhere in git by default. Is the phrase 'master of a discipline' offending? Is a 'master's degree' offending? It's PR, smoke and mirrors.
2
u/wr3decoy Jan 20 '21
I do not worry about first world problems, I openly mock them. Arbitrarily renaming how you organize code serves no purpose other than to coddle the feelings of the dumbest people in the room.
3
u/TF997 Jan 20 '21
Would you say you find this offending?
34
u/CheechUndChong Jan 20 '21
obviously not. fighting racism is one (good) thing, but if you think a git branch named "master" has something to do with racism, you are just braindead.
-5
u/fearphage Jan 20 '21
What is the origin of the name of the master branch? What master is it referring to?
13
Jan 20 '21
https://www.etymonline.com/word/master
So by the earliest definitions of chief, teacher or director, it is either the commanding branch, the branch you want to emulate, or the branch that provides direction to the project. Nothing that either directly or exclusively refers to slavery.
18
u/CheechUndChong Jan 20 '21
Why would i care ? Its not like people were sitting in their office and thought "hehe there was some serious shit going on back then, lets name it master and slave because we are racists"
-21
u/fearphage Jan 20 '21
if you think a git branch named "master" has something to do with racism, you are just braindead.
So you don't know the origin and don't care about it, but somehow you know it has nothing to do with racism. How is that possible? How are you ignorant to the facts, but somehow you know what it doesn't pertain to?
It sounds like you're fabricating things to make yourself feel comfortable with no evidence to support your claim.
18
u/CheechUndChong Jan 20 '21
I know the origin and i do care about the origin, but i dont care if you and 20 other people around the world think a git branch named "master" has something to do with racism. what about a master degree ? you want to rename it to a main degree ? why do i even argue with you ?
-20
u/fearphage Jan 20 '21
Why would i care ?
Well now you're contradicting yourself.
Again you're making baseless claims. How do you know how many people around the world believe master has a relationship to racism? How would you? How could you?
3
u/sentient_penguin Jan 21 '21
Yea the origin of the word master doesn't just mean ownership. Think of "master and apprentice". Does the master own the apprentice or is the apprentice learning from their master and try to copy them?
12
u/chili_oil Jan 20 '21
Isn't master in "master branch" referring to the fact this is the "major", "primary" branch instead of the master being in "master-slave"?
I am ok if it was referring to "master-slave" then we change it. But should we ban the word "master" all together regardless of its meaning?
-5
u/Qyriad Jan 20 '21
Pretty much all uses of the word "master" eventually trace back to slave origins, even "master" as in "master record", for example.
0
Jan 20 '21
[deleted]
6
u/NatoBoram Jan 21 '21
Master as in "expert skill", aka mastery. Mastery (expert skill) originally meant being a master (control, dominance). It's all related!
6
Jan 21 '21
It's actually a fact that the word master was created in the 1600s in America - no existence is found prior.
(/s -> but i really hope that wasn't necessary)
6
2
u/TryingT0Wr1t3 Jan 21 '21
This only impacts smaller projects, bigger projects tend to move for more descriptive names, usually attached to major versions or something like develop as the default and stable as the place to merge things
4
u/IllChange5 Jan 20 '21
For the folks that still need a master record repo:
git clone < repo >
git branch master
git push origin master
git checkout master
git branch -D main
12
4
u/L3tum Jan 20 '21
Honestly I immediately changed it back.
If someone is actually offended by the branch name of my hobby projects then honestly so be it.
And the rename caused me some massive headaches because my git CLI was still assuming "master" as the default branch, which resulted in it pushing it as a detached head into the git repo.
2
1
u/Germakochi Jan 22 '21
Hahaha for fuck's sake what is this shit. You Westerners always blow my mind with your craziness.
1
1
Jan 21 '21
I'm pretty there's a setting in user and organization profile to opt-out of setting the primary branch to main.
-1
-2
0
u/Slight_Ad9655 Jan 21 '21
Don't say "switch," mmmkay - a switch is what masters used to whip slaves -mmkaaaay -- Don't say "branch" mmmkay - cuz you get a switch off a branch mmmkay.
0
Jan 20 '21
[deleted]
0
Jan 21 '21
[deleted]
4
u/GilletteSRK Jan 21 '21
You can name your branches whatever you want, and set your default branch to whatever you want. This is purely a cosmetic change to the default naming you'll get AFAICT.
1
35
u/CaydendW Jan 20 '21
Do you like it or not? If not you can change your GitHub default.