Re:Tesla sued for severe harassment of Black workers at Cali...
by orlp on Saturday September 30, 2023 @06:00AM
(#37714029)
A default branch absolutely exists, it's what you get when you git init.
Re:Tesla sued for severe harassment of Black workers at Cali...
by blueflow on Saturday September 30, 2023 @06:03AM
(#37714048)
Yes, but thats a recent addition and is not related to the git clone behavior that people call "default branch".
Re:Tesla sued for severe harassment of Black workers at Cali...
by jen20 on Saturday September 30, 2023 @08:54AM
(#37714952)
As of git 2.28, it has a setting named “init.defaultBranch”.
git config --global init.defaultBranch trunk
Is one of the things that people complaining about this kind of thing should do, since the respect for tradition should probably transcending tooling.
I do maintain a git mirror chain with several pulls/pushes in a row and the whole master/main thing has been a pain in the ass. And both sides in that debate implicitly made that wrong assumption that a "default branch" even exists, which bites me even more.