News for hackers. Stuff that matters.
Re:Ask HN: Let's build an HN uBlacklist to improve our Googl... by bauerd on Tuesday January 04, 2022 @09:47AM (#29795297)
With the consequence that the default branch now differs between locally and remotely initiated repositories
Re:Ask HN: Let's build an HN uBlacklist to improve our Googl... by hu3 on Tuesday January 04, 2022 @09:59AM (#29795439)
For old versions of git, yes.

However, recent versions come with "main" as the default.

And since 2.28, released more than a year ago, we have the option to change the default:

    git config --global init.defaultBranch main