this post was submitted on 21 Jan 2024
225 points (100.0% liked)

Programmer Humor

854 readers
12 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 10 points 10 months ago (1 children)

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

[–] abfarid@startrek.website 4 points 10 months ago (1 children)

Depends on your version of git, I believe.

[–] cmnybo@discuss.tchncs.de 7 points 10 months 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 5 points 10 months 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.