Skip to content

Comment on On 2022-04-05, the default branch will be renamed from “master” to “main”

Comments

Isn't this solved by a large scale find-and-replace for existing scripts? Sure, the changes can be inconvenient but it's not like a major API change or something. They've also been printing out warning messages since December 29th according to the issue, so I'd expect that people would have updated their pipelines by now.

Except that not every project has/will make the switch to "main"

Ultimately you'd just end up with scripts that have to check for both main and master branch

AboutSource Built by g1lg1l

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