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 [email protected] !

  • Phoenixz@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    19 hours ago

    I lived in Mexico for a long time and the amount of bullshit I’ve had for using the word “negro” is just astonishing and insane. Can’t point out the color of the night sky in mexict, that’s racism, somehow.

    To clarify, as far as I know it’s only people from the US that freak about this, other countries don’t really seem to have this problem.