3 ms·
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.
by postalrat 6y ago
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.
- mcphage 6y agoI 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.
- kortex 6y agoI'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.