Skip to content

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

Comments

Think of all books and online articles that assume that ‘git push —origin master’ is a valid command. What about other companies who don’t adopt this change? Imagine you have to write an article about git and suddenly half of your readers start to complain that your examples don’t work. Yes, software do change a lot, but usually changes having such high impact are carefully thought out if the benefits outweigh negatives. Even people supporting this can’t give any compelling reasons other than “it’s nicer”.

If we take this change out of the current context and let’s say someone suggested that a year ago, do you think it would get the same traction?

AboutSource Built by g1lg1l

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