this post was submitted on 21 Jan 2024
349 points (91.3% liked)

Programmer Humor

33584 readers
17 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] cmnybo@discuss.tchncs.de 11 points 1 year ago (1 children)

Master is still the default branch when you run git init.

[–] abfarid@startrek.website 3 points 1 year ago (1 children)

Depends on your version of git, I believe.

[–] cmnybo@discuss.tchncs.de 8 points 1 year ago (1 children)

The latest version from kernel.org still uses master. It's certainly possible for distro maintainers to change it on the versions they package though.

[–] abfarid@startrek.website 6 points 1 year ago

Yeah, seems like I'm wrong. I looked up the docs on git-scm.com and it says that the default branch name is "currently master, but this is subject to change in the future". Maybe GitHub threw me off.