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

Default branch changed from master to main #1359

Open
rbhanda opened this issue Sep 19, 2022 · 0 comments
Open

Default branch changed from master to main #1359

rbhanda opened this issue Sep 19, 2022 · 0 comments

Comments

@rbhanda
Copy link

rbhanda commented Sep 19, 2022

The default branch for this repo has changed from master to main.

Any new PRs should be against main.

To update your local branches, run the following commands:

create a new main branch based off of master

git checkout -b main master

push that new branch up and update it's tracking branch

git push -u origin main

remove old branch

git branch -d master
Finally, to update your fork you can change the default branch to main at https://github.com//try/settings/branches and delete the old master branch via git push origin :master

@rbhanda rbhanda changed the title Default branch changed from master to main Default branch changed from master to main Sep 19, 2022
@rbhanda rbhanda pinned this issue Sep 19, 2022
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

1 participant