Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming default branch from develop to main #3025

Closed
10 of 11 tasks
waynexia opened this issue Dec 28, 2023 · 1 comment
Closed
10 of 11 tasks

Renaming default branch from develop to main #3025

waynexia opened this issue Dec 28, 2023 · 1 comment

Comments

@waynexia
Copy link
Member

waynexia commented Dec 28, 2023

What type of enhancement is this?

Other

What does the enhancement do?

As mentioned in #2717, we plan to switch the default branch to main to avoid confusion.

Progress:

Updates Local Environment

We need to update our local environment manually.

git branch -m develop main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

If the main branch already exists, you could remove it first

git branch -D main

For a forked repo, you could rename your default branch to main
image

Implementation challenges

No response

@evenyag
Copy link
Contributor

evenyag commented Dec 28, 2023

We should still use the develop.yml for the CI badge. It is not a branch name.
image

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

No branches or pull requests

3 participants