this post was submitted on 14 Jul 2025
377 points (95.9% liked)

linuxmemes

26221 readers
2149 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] rtxn@lemmy.world 14 points 13 hours ago

    Locking comments. Had a good run, over half a day, but this was always headed for an emotional train wreck.

    [–] Integrate777@discuss.online 26 points 16 hours ago

    I always rename my branch to main. Because it's shorter? That's the extent of my reasoning. Thanks for coming to my ted talk.

    [–] 0x01@lemmy.ml 33 points 17 hours ago (4 children)

    The default branch for some projects is "production" since CD deploys on pushing to that branch

    For new projects, main. My thought is that even if master is not offensive, since the industry has generally made the change, the only reason to stick with master is stubbornness or hating political correctness, neither of which aligns with my self-view so I'll use main and move on.

    In general if people are genuinely hurt by the use of some words, I'm not sadistic so I'll avoid using them. From my perspective morality is the pursuit of the reduction of suffering, even if that suffering is internal.

    [–] natecox@programming.dev 17 points 16 hours ago (2 children)

    It kills me that this take is so hard to find online.

    Did I think calling the main branch β€œmaster” was offensive before this controversy? No, I’d never even considered it.

    Does switching to calling it β€œmain” impact me, like… at all? Also no. It’s like the lowest effort change to make.

    If I can make my industry more welcoming to a more diverse group of people, that is a solid victory and way more important than the name of my primary git branch.

    [–] blarghly@lemmy.world 8 points 15 hours ago (1 children)

    I mean, the problem people have with it isn't a name change or improving inclusivity. It's the fact that they feel like they are being bullied into doing something they had no input into in the name of inclusivity. What pisses people off is how, as soon as someone says "x" isn't maximally inclusive of some marginalized group, everyone has to change or else get called a categorically bad person.

    For example, suppose you have a red hat that you enjoy wearing. You got it at wafflefest a decade ago, and it says "I <3 Waffles". Then one day, your boss sends out an email that no more red hats are allowed in the office because it might create an unwelcoming environment. You will, of course, be pissed off. Not because you can't wear your waffle hat anymore, but because your boss feels entitled to control the minutiae of you life like this. You'll think to yourself "fuck that guy, and fuck whoever brought up banning red hats in some corporate board room 1000 miles away. This is bullshit!"

    People like their autonomy, and don't like being controlled. Doesn't matter if it is in the name of increased corporate profits, or inclusivity, or saving the bees, or dying of lung cancer. They don't care about the name of their git branch - they care that they feel like they are being forced to change it.

    [–] zalgotext@sh.itjust.works 4 points 14 hours ago

    That analogy doesn't really apply though. The decision to change master to main was a collective one, not made by "some corporate board room 1000 miles away". It may feel like that's how it went down because you only noticed when GitHub changed their defaults or whatever, but that decision was not made in a vacuum, it was the result of lots of people saying "hey, this is a problem, let's fix it" for a long time before any actions were taken.

    load more comments (1 replies)

    Don’t forget laziness. I have some projects that have been around forever and I am not changing it across my infra because I am lazy. I will do it next year…

    load more comments (2 replies)
    [–] codexarcanum@lemmy.dbzer0.com 33 points 17 hours ago (2 children)

    No one commits to trunk anymore....

    [–] JigglySackles@lemmy.world 37 points 16 hours ago* (last edited 16 hours ago)
    [–] Vikthor@lemmy.world 4 points 13 hours ago

    I think you are onto something. Especially Mastodon devs are losing so much.

    [–] lemmyng@lemmy.ca 48 points 19 hours ago (2 children)

    Just use main. I'm not bothered by either, but I'm not in the demographic that would be bothered by master, so I use main and STFU. It takes way less effort to switch to main (if you haven't already) than to come up with all this rhetoric about why master shouldn't trigger people.

    [–] PotatoesFall@discuss.tchncs.de 20 points 19 hours ago

    I would argue that it's best/easiest to leave existing projects on master, and just use main for new ones. Either way I agree, people arw reactionary af about this issue

    load more comments (1 replies)
    [–] vivendi@programming.dev 27 points 18 hours ago (2 children)

    Master. I find the whole "reasoning" behind the controversy absolute horseshit peddled by nontechnical people on the sidelines

    [–] Tartas1995@discuss.tchncs.de 11 points 17 hours ago (4 children)

    Just that master doesn't actually makes much sense in most git workflows.

    If you understand master like you would understand the master/slave relationship in old tech, then of course, master seems to make sense until you realize that there is no slave in that sense or in name. Additional, master is rarely doing anything but having release or hot fixes being merged into it. Arguably dev is the master of the branches.

    In other words, master was always a bad name. It is silly to rename it because "racism" but it is at least equally silly to act like master is a much better name than "main" or "live" or "prod" or ... Fuck, the list is long.

    [–] anachrohack@lemmy.world 33 points 17 hours ago* (last edited 17 hours ago) (7 children)

    The master branch is called master not because of slavery. It's a master copy of the code, like how in the record industry there are master records. It has nothing to do with slavery

    [–] maniii@lemmy.world 17 points 17 hours ago (1 children)

    Based. We need to make music industry use Main records and not Master records from now on!

    load more comments (1 replies)
    load more comments (6 replies)
    load more comments (3 replies)
    load more comments (1 replies)
    [–] rtxn@lemmy.world 80 points 23 hours ago* (last edited 22 hours ago) (8 children)

    It's a retroactive bastardization of the word based on one particular culture's one particular interpretation of it (master being, apparently, a slaveowner) that ignores both the much earlier meanings of master artisan or master craftsman (as opposed to journeyman and apprentice) and masterpiece (through which an artisan is recognised as a master), and the modern meaning of a master copy (like a master record in disc printing).

    This isn't like replacing the "master and slave" terminology with regard to connected devices. That one was warranted because it was often inaccurate and confusing. But forcing the adoption of main instead of master feels like someone got offended on someone else's behalf because a word looked superficially like that other bad word, and apparently we can't have an understanding that goes deeper than what letters it's made up of.

    Amerika ist wunderbar. This is an --initial-branch=master household.

    [–] PixxlMan@lemmy.world 7 points 16 hours ago

    At some point needlessly banning words just empowers bigots by letting them claim larger and larger parts of the vocabulary. Shouldn't we try to reclaim words instead, and deprive the words of their power? Just "banning" words, especially in cases such as this one when the connection to master/slave is pretty weak, actually increases the negative power of the words and I'd argue empowers people with malicious intent

    load more comments (7 replies)
    [–] Brosplosion@lemmy.zip 19 points 19 hours ago (1 children)

    I don't care which one you use, just don't change it once it's established. So many legacy Yocto projects got broken cause open source libraries changed their branch names.

    [–] yarr@feddit.nl 10 points 17 hours ago (1 children)

    I don’t care which one you use, just don’t change it once it’s established. So many legacy Yocto projects got broken cause open source libraries changed their branch names.

    This was one of the arguments when the renaming was first proposed. "Just rename it, it won't break anything! It's only racists that want to keep the name!"

    Sure, except for all the CI/CD scripts, release scripts, etc that all have "master" there and are now broken.

    I know of a company that their entire CI pipeline was broken overnight because some "helpful" person renamed the branch to master but didn't bother checking out their pipelines...

    load more comments (1 replies)
    [–] savvywolf@pawb.social 44 points 22 hours ago (6 children)

    Main.

    Don't get me wrong, the whole debate is Microsoft just being performative (why not use your vast wealth to actually help people?). But honestly, putting the debate aside, "main" is just a clearer and more intuitive name.

    load more comments (6 replies)
    [–] LovableSidekick@lemmy.world 81 points 1 day ago* (last edited 1 day ago) (4 children)

    I personally don't think the word "master" should be considered offensive - my wife has a master's degree in deaf education - but I've switched to "main" because that seems to be the convention now and it really doesn't have to be an issue.

    [–] i_am_not_a_robot@feddit.uk 32 points 23 hours ago (2 children)

    There's no "slave" convention in git so I'm not sure how it can be considered an issue (I get that drives being master and slave is a bit icky). But then, what is it a master of?

    As others have said, "trunk" would have been a more sensible replacement.

    [–] rtxn@lemmy.world 29 points 21 hours ago* (last edited 21 hours ago) (2 children)

    It's a master the same way that an original recording (the final version before mass reproduction) is called a master; mixing and processing the raw media clips into such a recording is called mastering. It's a convention that has existed long before computers were a thing.

    load more comments (2 replies)
    load more comments (1 replies)
    load more comments (3 replies)
    [–] lobut@lemmy.ca 20 points 19 hours ago* (last edited 19 hours ago) (3 children)

    If it uses master and it's too much trouble to get people to switch. It stays master until we can coordinate.

    If I'm starting a new project I use main.

    Why?

    It doesn't take much to do and it avoids any misunderstandings or arguments and we've got work to do. I don't particular care if you guys are "stuck" on master. If that's what it is and everyone wants to keep it that way, I don't have enough will to change it. If it's under my control, I will change it.

    load more comments (3 replies)
    [–] mhague@lemmy.world 5 points 15 hours ago (2 children)

    Using master is stupid. Is your branch in charge of others? Is it more skilled than your other branches? Software engineering has too many crusty dorks that stick to their paradigms like it's their religion. Acting like it's their heritage to use outdated terms but also it doesn't matter so that's why they'll keep using it.

    [–] rothaine@lemmy.zip 9 points 14 hours ago (1 children)
    [–] Xkdrxodrixkr@feddit.org 7 points 14 hours ago (1 children)

    Calling an original, analogue recording a master does make sense, as all copies of it will by nature be of a lesser quality. This isn't the case for git branches tho.

    [–] rothaine@lemmy.zip 5 points 14 hours ago

    I don't think the word "master" is indicating quality though, just that it's the "source" or "basis"

    [–] cley_faye@lemmy.world 4 points 14 hours ago

    The name have nothing to do with being in charge of others, skill level, or anything, but, sure.

    [–] RustyNova@lemmy.world 4 points 14 hours ago

    Personally I've come to hate main because it breaks habits easily. I'm working 75% of the time on master repos, but then I might need to do a quick edit on a main repo and suddenly my git checkout master doesn't work.

    Or even copy pasting scripts from one project to another can easily break if you forget to change the branch

    The reason behind the change is pretty stupid anyway (I'm against slavery but it shouldn't be treated like a slur still)

    [–] rozodru@lemmy.world 7 points 16 hours ago

    both. but majority are master cause that's the default and I'm too lazy to change nor do I really care.

    [–] ozymandias117@lemmy.world 87 points 1 day ago (4 children)

    I get wanting to move away from "master," but why in the world didn't we use "trunk"

    It was already a standard name, and it fits "branches," etc.

    load more comments (4 replies)
    [–] wesker@lemmy.sdf.org 106 points 1 day ago

    main in the streets, master in the sheets

    [–] Lembot_0004@discuss.online 60 points 1 day ago (17 children)

    Master. I find this out of context fight against words pathetic.

    load more comments (17 replies)
    [–] lilith267@lemmy.blahaj.zone 95 points 1 day ago (6 children)
    load more comments (6 replies)
    [–] sunglocto@lemmy.dbzer0.com 8 points 17 hours ago (1 children)

    I use master in all my projects

    [–] anarchy79@lemmy.world 7 points 17 hours ago (1 children)

    I save my code as .txt files on my hard drive.

    They follow the naming convention "project1", "project1a", "project1a1" and so on in consecutive logical order

    load more comments (1 replies)
    [–] blackstampede@sh.itjust.works 7 points 17 hours ago

    The real answer is whichever is easiest. If you've got a master branch and it's a pain to switch, then I wouldn't do it. If you've got a badass coder who is disturbed by the terminology, then I'd say to do it to keep the peace. It depends on the situation.

    [–] infinitesunrise@slrpnk.net 24 points 21 hours ago (1 children)

    No gods no master branches

    load more comments (1 replies)
    load more comments
    view more: next β€Ί