Skip to content

Commit 4877c70

Browse files
authored
Merge pull request #1739 from Kobzol/rename-final
Add a note that the rust-lang/rust default branch has happened
2 parents a913df0 + 71dbe9e commit 4877c70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/inside-rust/renaming-the-default-branch-of-rust-lang-rust.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ team = "the Infra team"
99
team_url = "https://www.rust-lang.org/governance/teams/infra#team-infra"
1010
+++
1111

12+
> The rename happened on November 10, 2025. The default branch of `rust-lang/rust` is now named `main`.
13+
1214
We will be renaming the default branch of the [rust-lang/rust repository](https://github.com/rust-lang/rust) from `master` to `main` on 2025-11-10. We've chosen `main` specifically as it's the default for newly-created repositories [in GitHub][github-change] and the renaming will leverage the [GitHub tooling][github-tooling] built to make this easier.
1315

1416
If you maintain a tool that currently assumes the default branch of `rust-lang/rust` is named `master`, using `HEAD` instead will work both before and after the rename.

0 commit comments

Comments
 (0)