So creating a new repo on GitHub, you get a set of getting started steps. They changed the default branchname to “main” from “master” due to its connotations with slavery.

When I create a new repo now, the initial getting started steps recommend creating a branch named “master” as opposed to “main” as it was a while ago.

It’s especially weird since the line git branch -M master is completely unnecessary, since git init still sets you up with a “master” branch.

Disclaimer: I have a bunch of private repos, and my default branchnames are pretty much all “master”.

Is this a recent change?

Edit: Mystery solved, my default branchname is “master”. Thanks bamboo@lemmy.blahaj.zone !

  • Phoenixz@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    7
    ·
    5 hours ago

    I honestly never saw a problem with master / slave, nor with whitelist / blacklist. It’s the same as killing children, forking children, etc, it’s computer terminology and not everything means that bad thing that you personally want it to mean.

    I’m not politically correct, I live in a real world. Calling a git repository different really isn’t doing shit against slavery and it pisses me off that people are going to down vote me on their slavery built iPhone because apparently I like naughty words and you apparently like slavery.

    You want to stop racism? Then stop meddling with computer terminology and go out there and actually do something real.

    • Mubelotix@jlai.lu
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      48 minutes ago

      Do you speak french too? I’m french myself and we use master for so many normal things. Americans don’t get that word right because their langage lost many of its meanings. It’s funny to see people get offended just because they misunderstand the etymology of a word

    • surewhynotlem@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      33 minutes ago

      I appreciate your intense emotion about the topic of changing terminology. It’s hard to wrangle in our feelings when things change.

      I completely agree with your last statement. What have you done to accomplish that?