News for hackers. Stuff that matters.
Re:The default branch for newly-created repositories is now ... by postalrat on Thursday October 01, 2020 @03:05PM (#24654929)
What assumptions would you make if you say these three branches in a repo: trunk, master, main. Versus if you just saw trunk and main.
Re:The default branch for newly-created repositories is now ... by kortex on Thursday October 01, 2020 @03:34PM (#24655279)
I'd look at the graph, cause sometimes you end up with a stale master/main and everyone pushing to "develop" and cutting releases from that.

Heck, I worked on a repo where "master" was 2 years untouched, "rc" was like 8 months untouched and effectively deployment, "next" was effectively the release candidate but also used in production elsewhere, so it was gated like it was a master branch, and everything else was dev. Yeah.

Re:The default branch for newly-created repositories is now ... by mcphage on Thursday October 01, 2020 @03:07PM (#24654967)
I think I'd be pretty confused in both cases—I've never seen people use "trunk" as a branch name, so I don't know what it would mean to them. I mean, personally I think "trunk" makes the most sense as the default branch, so I would like to assume that's the default branch, but, with 2 or 3 of them, I'd mostly wonder how they all got there.