Skip to content

Conversation

traviscross
Copy link
Contributor

@traviscross traviscross commented Oct 16, 2025

The blog post about changing the primary branch name of rust-lang/rust, as written, claims that the default branch name of Git, the open-source version control tool originally written by Linus Torvalds, has changed. As best I can determine, that's not true, at least as of Git v2.51. The mailing list thread from 2020, linked in the post, certainly does not support this claim. That thread discusses making the default branch name for newly-created repositories configurable, and it causes a warning to be shown if this is not configured (indicating that the default may change in the future), but the default when not configured has not been changed.

Conversely, GitHub, the service now owned by Microsoft, did change the default branch name for newly-created repositories on 2020-10-01. Probably this is what we mean instead. Let's change the post to point to that.

cc @shepmaster @Kobzol @carols10cents

Rendered

The blog post about changing the primary branch name of
`rust-lang/rust`, as written, claims that the default branch name
of *Git*, the open-source version control tool originally written by
Linus Torvalds, has changed.  As best I can determine, that's not
true, at least as of Git v2.51.  The mailing list thread from 2020,
linked in the post, certainly does not support this claim.  That
thread discusses making the default branch name for newly-created
repositories configurable, and it causes a warning to be shown if this
is not configured (indicating that the default may change in the
future), but the default when not configured has not been changed.

Conversely, *GitHub*, the service now owned by Microsoft, did change
the default branch name for newly-created repositories on 2020-10-01.
Probably this is what we mean instead.  Let's change the post to point
to that.
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, I knew about this fact, I could have sworn that I read it as GitHub and not git.. Thanks!

@Kobzol Kobzol merged commit b977cb2 into main Oct 16, 2025
6 checks passed
@Kobzol Kobzol deleted the TC/fix-claim-about-git-defaults branch October 16, 2025 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants