Skip to content

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

Comments

You are technically correct.

In reality though you can't expect programmers to code for eventualities that occur only in extremely rare cases (until now).

It's less rare than you think. Lots of repos use "develop", or "trunk" as their default, for instance.

Yes, many repositories use something else than "master" as their main development branch.

But how many of those don't have a "master" branch at all?

AboutSource Built by g1lg1l

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