Thread (1 message) 1 message, 1 author, 2026-02-09

Re: git branch behavior after git init needs fixing

From: Junio C Hamano <hidden>
Date: 2026-02-09 17:08:18

Ben Knoble [off-list ref] writes:
You are probably looking for init.defaultBranch and the 3.0
breaking changes plan (which will make main the default).
In other words, run

    $ git config --global init.defaultbranch main

just once to live in the future?  That sounds like a sensible
suggestion to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help