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

Farid
link
fedilink
310M

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
610M

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
  • 159 users / day
  • 317 users / week
  • 704 users / month
  • 2.84K users / 6 months
  • 1 subscriber
  • 1.57K Posts
  • 34.8K Comments
  • Modlog