News for hackers. Stuff that matters.
Re:Git 3.0 Defaults to "main" Branch Instead of "master by baggy_trough on Friday November 21, 2025 @02:30PM (#46008012)
'main' is objectively better than 'master' because it's easier to type and easier to say. The only problem is the noxious politics associated with it.
Re:Git 3.0 Defaults to "main" Branch Instead of "master by collingreen on Friday November 21, 2025 @02:54PM (#46008240)
By this logic is the branch name "1" or "a" even better?
Re:Git 3.0 Defaults to "main" Branch Instead of "master by baggy_trough on Friday November 21, 2025 @02:56PM (#46008260)
No, because 'main' is directly related to the concept at hand, just like 'master'.
Re:Git 3.0 Defaults to "main" Branch Instead of "master by eviks on Friday November 21, 2025 @03:10PM (#46008409)
They're related via that concept of "first" (though 0 might be more apt)
Re:Git 3.0 Defaults to "main" Branch Instead of "master by baggy_trough on Friday November 21, 2025 @03:15PM (#46008475)
I think that's a bit of a reach. Also, it's confusing to say "1 branch" or "a branch" because those words are much more ambiguous.
Re:Git 3.0 Defaults to "main" Branch Instead of "master by eviks on Saturday November 22, 2025 @03:31AM (#46013161)
But you wouldn't say "a branch", you'd say "branch A" Similarly it'd be "first branch" or "branch 1", so not that ambiguous.