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 master to main #87

Closed
ericpre opened this issue Aug 25, 2021 · 3 comments
Closed

Rename master to main #87

ericpre opened this issue Aug 25, 2021 · 3 comments

Comments

@ericpre
Copy link
Contributor

ericpre commented Aug 25, 2021

See https://github.com/github/renaming for details.

The master branch simply needs to be renamed but I open an issue to avoid surprises!

@jlaehne
Copy link
Contributor

jlaehne commented Aug 25, 2021

If no one objects, I would wait a few days and then do the rename.

@jlaehne
Copy link
Contributor

jlaehne commented Aug 28, 2021

Done.

Everyone locally still using the master branch now needs to rename their local clones:

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

@jlaehne
Copy link
Contributor

jlaehne commented Aug 28, 2021

And rename the branch name in your fork of course.

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

2 participants