Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: Evan Bonsignori <ebonsignori@github.com>
2.0 KiB
2.0 KiB
title, intro, versions, topics, redirect_from, shortTitle
| title | intro | versions | topics | redirect_from | shortTitle | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Managing the default branch name for your repositories | You can set the default branch name for new repositories that you create on {% data variables.location.product_location %}. |
|
|
|
Manage default branch name |
About management of the default branch name
When you create a new repository on {% data variables.location.product_location %}, the repository contains one branch, which is the default branch. You can change the name that {% data variables.product.product_name %} uses for the default branch in new repositories you create. For more information about the default branch, see "About branches."
{% data reusables.branches.change-default-branch %}
Setting the default branch name
{% data reusables.user-settings.access_settings %}
{% data reusables.user-settings.repo-tab %}
3. Under "Repository default branch", click Change default branch name now.
4. Type the default name that you would like to use for new branches.
5. Click Update.
