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

Farid
link
fedilink
39M

Depends on your version of git, I believe.

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.

Farid
link
fedilink
69M

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.

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog