github/renaming resource
Guidance for changing the default branch name for GitHub repositories observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2273
- days_rel: n/a
- days_push: 1630
- n_releases_24m: 0
Adoption not part of the score
2458 stars · 205 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
GitHub's official guidance repository for renaming the default branch of Git repositories from `master` to `main`. It documents platform changes, tooling settings, and step-by-step instructions for maintainers.
Use cases
- rename default branch from master to main
- how to change default branch name on github
- set init.defaultBranch for new git repos
- avoid breaking links when renaming a branch
- update github pages after branch rename
When to choose
- you maintain a GitHub repository and want to rename its default branch safely
- you need the latest official GitHub guidance and tooling settings for branch renaming
When to avoid
- you need a tool that performs the rename automatically rather than documentation
- you use a Git host other than GitHub
Facets
learning-resource · maturity maintenance
documentation version-control developer-tools version-control developer-tools documentation cli git github default-branch inclusive-naming guidance web-server
1 source
- readme: https://github.com/github/renaming · fetched 2026-08-28 · b310e4ad7bd7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| github/renaming | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem