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 !

    • GreenKnight23@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      what’s hilarious to me is none of you realizes that I might not be white. you’ve judged the color of my skin entirely based on an opinion that conflicts with your perception of what a person of color would have. last time I checked that’s racial profiling, which is racist. so…who’s trying to impose power over whom here?

      regardless, I vehemently deny that I want to use “master” to force my will onto others (outside of maintaining a standard branching strat). as I have stated previously, the hourly cost to convert master to main is far too high to consume and too frivolous of a change to piecemeal out over the next three years.

      until HR is ready to explain to the executives why I can’t deliver the features they want this quarter, it’ll stay as “master”.