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] !
That you’d be a bad teammate: the kind of person who puts personal preference above what the group has decided and causes problems for no good reason; the kind of person who would insist on indenting with spaces when the whole team has decided to use tabs.
my editor converts tabs to spaces and back again. so that’s a non-issue.
I do put personal preference ahead of what the group wants if the group wants something that has been called “frivolous” and “not that big of a deal”.
I don’t understand how I’m the asshole if I’m the one made responsible for setting the standards for the team.
nailed it lmao