Skip to content

Comment on New GitHub repos to have default branches named “main” instead of “master”parent

Comments

Political correctness aside, "main" does sound like a more natural name for the main branch

Sure, but who says that what is now called "master" is the main branch?

In my repos, I consider the main branch to be the branch I spend most of my time working on. For simple things that is "master", but for more complex things I'm mostly on some other branch.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.