• SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    2 hours ago

    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.

  • rtxn@lemmy.worldM
    link
    fedilink
    arrow-up
    44
    arrow-down
    8
    ·
    edit-2
    2 hours ago

    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.

    • PotatoesFall@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 hour ago

      regardless of that, it’s never inconvenienced me and it’s still a net gain in readability, since main actually means what it means. have my shell scripts set up to use either one for any repo I’m in automatically.

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        50 minutes ago

        Honestly it’s not even about convenience. As far as breaking conventions go, this one has none-to-minimal impact – existing master branches won’t suddenly become invalid. But it’s yet another instance of a subset of a subset of a subset of users getting to enforce their sensibilities for superficial reasons, and ultimately with zero effect regarding the cause they claim to represent; cultural and linguistic differences be damned.

        I’d love to be more specific, but I don’t want the comments to turn into a warzone.

        And don’t pretend like master doesn’t mean what it means.

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    1
    ·
    edit-2
    4 hours ago

    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.

    • Chris@feddit.uk
      link
      fedilink
      English
      arrow-up
      12
      ·
      3 hours ago

      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.worldM
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        34 minutes ago

        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.

    • gigachad@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      3 hours ago

      Honest question. I cannot see if you are being serious here. If this is a real thing, is it because of US slavery history? No way you are saying your wife has a main degree in deaf education?

      • Lovable Sidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        12
        ·
        edit-2
        3 hours ago

        No, I said I don’t think the word “master” is inherently offensive - after all, my wife has a master’s degree. But to answer OP’s question, I’ve switched to “main” as my git branch because that seems to be the new convention.

      • Derpgon@programming.dev
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        55 minutes ago

        Why not change “walkie talkie” to “radio phone”? It is so much cleaner.

        Because change for the sake of change always brings more work than what it saves.

        Why change something that works and everyone recognizes it? Of course, if this debate was there when the standard was created…

      • Lembot_0004@discuss.online
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        1 hour ago

        Because it is a historically settled down terminology that everyone understands and there is no adequate reason to change it.

    • CubitOom@infosec.pub
      link
      fedilink
      English
      arrow-up
      26
      arrow-down
      2
      ·
      edit-2
      41 minutes ago

      My scrum master said that we need new tickets to update the git branches and pipelines to use main instead of master since master was a bad word.

      I asked him what his job title was again and there was a pause.

      Then he said we can’t say that we are going to groom the code base anymore.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 hours ago

      I know someone with a master’s degree from university.

      Well, he cut me a golden master copy of the track, anyway.

  • ozymandias117@lemmy.world
    link
    fedilink
    English
    arrow-up
    52
    arrow-down
    1
    ·
    5 hours ago

    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.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      17
      ·
      edit-2
      2 hours ago

      “trunk” is what it was called in SVN, too. Well, kind of. SVN didn’t have a real concept of branching like Git does, but the main development would almost always happen in a root directory called “trunk”.

      I’m not sure why Bitkeeper used “master”, but that’s why Git called it that (Git was originally built as a replacement for Bitkeeper).

  • juipeltje@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    My repos use main because i guess that was the default, but i don’t really care. I mean i also call my window manager layout master/stack and i don’t see what’s wrong with that.