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

Rename the master branch to main #380

Closed
zufuliu opened this issue Sep 21, 2021 · 3 comments
Closed

Rename the master branch to main #380

zufuliu opened this issue Sep 21, 2021 · 3 comments

Comments

@zufuliu
Copy link
Owner

zufuliu commented Sep 21, 2021

I was gonna ask to rename the master branch to main at some point, it's a good decision.

Originally posted by @Shakil-Shahadat in #346 (reply in thread)

@zufuliu zufuliu added this to the v4.21.11 milestone Sep 21, 2021
@zufuliu zufuliu pinned this issue Sep 21, 2021
@zufuliu
Copy link
Owner Author

zufuliu commented Sep 21, 2021

As documented at https://github.com/github/renaming, this can be done now with a single mouse click, thanks for their hard work👍.

I'm planing to rename the branch name in this week, so our first commit (unless there are regressions for v4.21.09, workaround for issue #378 can be done in this week) for v4.21.11 goes into the main branch.

@zufuliu
Copy link
Owner Author

zufuliu commented Sep 24, 2021

Note to my self (for steps to update local repository):

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

git remote show origin
git remote prune origin

@zufuliu
Copy link
Owner Author

zufuliu commented Sep 25, 2021

Finished after 574cb1e.

@zufuliu zufuliu closed this as completed Sep 25, 2021
@zufuliu zufuliu unpinned this issue Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant