• @[email protected]
    link
    fedilink
    371 year ago

    I use main as my default branch because it’s what Git has been defaulting to for some time now

  • @[email protected]
    link
    fedilink
    66
    edit-2
    1 year ago

    Instead of either, it’s good to have a more descriptive primary branch:

    git checkout -b dontwritetothisbranchdirectlyyougottaopenaprfirstandhaveitreviewedandapprovedandthenpasstheautomatictests

  • @[email protected]
    link
    fedilink
    21 year ago

    I like und use “main” because it’s shorter, but call it master branch in colloquial speech because it’s cooler.

  • @[email protected]
    link
    fedilink
    501 year ago

    No disrespect, but asking everyone to remove words from the English language because they may offend a small group of oversensitive people is one of the most frustrating social initiatives of our time. “Master” makes sense for the job and unless we’re also putting “Slave” and “Cotton” on the dictionary chopping block, the arguement will always seem arbitrary to me.

    • @[email protected]
      link
      fedilink
      141 year ago

      unless we’re also putting “Slave” and “Cotton” on the dictionary chopping block

      Aren’t we though? At least when it comes to tech, Master-Slave terminology has been largely deprecated in favor of other terms.

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        1 year ago

        It is much easier for lots of western progressives (i.e. moderates if that label was used properly) to fix a naming scheme than reevaluate the exploitative structures on which their lives are based.

    • MeanEYE
      link
      fedilink
      1
      edit-2
      1 year ago

      More to the point it refers to relation between elements and not the political correctness of the act. Just how the terminology is used in books, but reading one doesn’t imply you are a racist or condone slavery.

    • Doc Avid Mornington
      link
      fedilink
      English
      131 year ago

      The only reason you think “master” makes sense is because you’re used to it. It’s actually quite a weird connection to make, if you aren’t used to it. “Main” is much more straight forward. And nobody is really demanding people stop using “master”, so far as I am aware, it’s just that people are making that choice themselves.

      • @[email protected]
        link
        fedilink
        31 year ago

        And nobody is really demanding people stop using “master”, so far as I am aware

        GitHub, GitLab, and git itself, are all using main as the default name of the default branch, by default.

        • @[email protected]
          link
          fedilink
          31 year ago

          Yes that is the point. They made the choice to change their default. You can still make the choice to name your branches, especially the main one, as you like. Setting it for a project is less work than complaining about it.

      • @[email protected]
        link
        fedilink
        8
        edit-2
        1 year ago

        I vote for naming this branch “mommy”, since all other branches are it’s offspring, and related to it.

        • katy ✨
          link
          fedilink
          41 year ago

          name it daddy so i can open an issue and say i have daddy issues

      • TxzKOP
        link
        fedilink
        911 year ago

        yup same. I hate slavery just like anyone else but fail to see how naming a branch master has to do anything with it. Next are they gonna claim that master’s degree is pro slavery or something

          • TxzKOP
            link
            fedilink
            271 year ago

            Idk, same people who think naming git branches master is somehow pro slavery? Whoever they are

          • magic_lobster_party
            link
            fedilink
            151 year ago

            although in the context of version control, the term master simply refers to the gold master, a term borrowed from the recording industry which refers to the final mixed version of a recording, and does not have a corresponding slave.

            Either way, I think “main branch” is easier to say, so it’s a win.

        • Deebster
          link
          fedilink
          131 year ago

          I put this one in the same camp as whichever well-meaning person came up with “happy holidays”. Other religions and cultures don’t mind Westerners celebrating Christmas, and over-corrections like this just give fuel to the “political correctness gone mad” (now re-branded as anti-woke) crowd.

          • @[email protected]
            link
            fedilink
            131 year ago

            Happy Holidays makes perfect sense. You can start saying it in early December, whereas if you say Merry Christmas in early December, you seem like you’re not very good with dates. Or maybe you’re one of those people who’s really obsessed with Christmas. I’ll say Happy Holidays until around the 23rd, when I’ll say Merry Christmas until the 26th, back to Happy Holidays until the 31st, when I say Happy New Year.

    • MeanEYE
      link
      fedilink
      31 year ago

      I can’t wait for asshats to start calling for gender fluid connectors. What’s that, male 3.5mm connector, did you just assume my connectors identity?

  • @[email protected]
    link
    fedilink
    101 year ago

    I use master because when I do ‘git init .’ I get a master branch and I am lazy enough to not rename it. As for typing it later on… . Well zsh does that for me

  • Hellfire103
    link
    fedilink
    English
    371 year ago

    I use master because I’m nostalgic. If it matters that much, though, I’ll start using trunk (like we used to back in the days of SVN).

  • vojel
    link
    fedilink
    381 year ago

    Oh I don’t give a single fuck about the discussion, it’s technology, not politics. I am more upset that my company has some legacy repositories with master and the newer ones with a main branch. So everytime I want to create a MR with push options via command line I need to change main to master or visa versa.

    • MeanEYE
      link
      fedilink
      31 year ago

      This is a huge pain in the ass for us as well. We have some automation with development environment and deployment of certain scripts. We had to redo a good chunk of them to first test whether there’s main or master. And it took us a long time to find stragglers that weren’t as frequently updated but would suddenly break deploymend after minor changes.

  • sgibson5150
    link
    fedilink
    21 year ago

    I’ve heard people talking about the switch but I’ve not seen it yet on git for Windows. I’d upgrade but I need to set up a new remote box anyway (to replace my on-prem Bitbucket) and I don’t need any hassles between now and whenever I get a chance to do that.

  • @[email protected]
    link
    fedilink
    English
    24
    edit-2
    1 year ago

    It speaks to the deep rooted whiteness of the industry that such a common-sense change is treated as completely bullshit even to this day.

    • @[email protected]
      link
      fedilink
      91 year ago

      It speaks to deep rooted butthurtness of USA boomers and constant need to enforce their stupid ass rules to others. It’s not racist, neither are blacklist or whitelist.

      • @[email protected]
        link
        fedilink
        81 year ago

        Even ignoring the question of racism, they are still stupid names.

        Imagine teaching a child about this and it asks: Why is white allowed and black not? The only answer is, because it is like this for a long time. If we name them allowlist and denylist, it is obvious to all English speaking people. Shouldn’t we strive for descriptive names in programming?

        However, if you use names whitelist an blacklist, you need to make the implicit connection white-positive black-negative. Yes obviously this does not make you racist if you do this in programming. But is it good?

        • @[email protected]
          link
          fedilink
          English
          3
          edit-2
          1 year ago

          AL/BL. See, not stupid at all. You just don’t want to admit you’re deeply racist and that’s your motivation for caring a non-zero shit about this.

          Programmers will literally uproot their entire language of choice if it’s required it but can’t replace one definition? Give me a fucking break.

          • @[email protected]
            link
            fedilink
            English
            21 year ago

            Taking this stuff personally is just intellectual laziness. The phrase “Allowlist” isn’t about that guy, and if he can’t grok that it isn’t he needs to work on himself.

        • @[email protected]
          link
          fedilink
          5
          edit-2
          1 year ago

          White - light. Black - no light. White knight - good. Black knight - bad.

          These two colors have a meaning. It has fuck all to do with skin color. And if you do, then you are helping to enable “useless racism” in the form of “this offends the black community”, while literally nobody gives a fuck.

          Its a useless change in the sake of changing things. Everyone is tech eants the superstar and wants to say “Hey, you are using X (not Twitter in this case)! I made that, noice.”.

          If someone decided to change it next week to primary, would you be for or against it?

          • @[email protected]
            link
            fedilink
            11 year ago

            Yes colors have a meaning. However, they change ober time and culture. So why not use the word which describes exactly what we mean?

            I agree, nowadays blacklist/whitelist has practically nothing to do with skin color. However i do think it is weird to use the same words for describing the appearance of people and good/bad.

            Well i would be indifferent to the renaming to primary, because it doesn’t really matter to me what they call their branches, as long as it is descriptive. primary also conveys the meaning. I would probably continue using main/dev because i see no reason to change.
            I am not someone who says “You should change this!”. I just say, think of it, there are some reasons to change and the only reason to keep it, os that we did it always like this. I think there are reasons for selecting better words. And I am only annoyed by people who are outraged by things others do, which does not really affects them negatively. I get it that someone wants to continue using blacklist, master, etc. and I am ok with that.

          • @[email protected]
            link
            fedilink
            English
            41 year ago

            Why is a filled checkbox positive and an empty checkbox negative

            Sounds like white true black false is not universal

      • @[email protected]
        link
        fedilink
        2
        edit-2
        1 year ago

        I really don’t see the problem with switching the names.

        You seem to be the only one in this entire discussion getting triggered about being more inclusive honestly. Nobody else cares…

        But yeah, as others have said, the changes make sense regardless, and if it’s more inclusive, I have no problem with that. It’s not a big deal for me, but it might be for other people.

        If you’re offended by the change, you can still use master as your main repo.