dotnet / dotnet/announcements

Migration to main completed

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.4k
Forks
53
PR merge metrics
No merged PRs in 30d

Description

As [previously announced](https://github.com/dotnet/announcements/issues/172), we have standardized the branch naming and use `main` as the default branch for all new repos moving forward. We have just completed the migration of all existing repos to `main` in the `dotnet` and `aspnet` organizations.

![Migration status](https://user-images.githubusercontent.com/5169960/115061413-03296d00-9e9e-11eb-9c17-631237172cdb.png)

## What about non-Microsoft owned repos?

There are other repos in the `dotnet` organization that aren't owned by Microsoft. It's up to the project maintainers to decide whether or not they want to rename their default branch as well. We decided that there is a value in having a unified naming convention across all our repos as opposed to having a split like "new repos use `main`, existing repos use what they currently have". But renaming the default branch is work and there is a reason it took as couple of months to complete the migration to `main`.

In case you're curious, [here are the steps we followed](https://aka.ms/m2m-dotnet).

## What do I need to do?

**You don't need to update your PRs**. If you submitted a PR against the old default branch, the GitHub tooling has automatically retargeted your PR against the new default branch (`main`).

For sanity, **you should rename the default branch in your fork as well**. When you go to your fork, GitHub will guide you through this experience:

![Rename branch in fork](https://user-images.githubusercontent.com/5169960/105210186-92bdba80-5aff-11eb-99c9-0beb708fcf3f.png)

**You will need to update the repos you cloned to your hard drive**. When you go to the original repository, GitHub will guide you through this experience:

![Update local repo](https://user-images.githubusercontent.com/5169960/105210184-92bdba80-5aff-11eb-93a8-2b13dbbf74c8.png)

For a discussion, please use https://github.com/dotnet/arcade/issues/6825.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.