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

Change branch name from "master" to "main" #384

Open
MaikNog opened this issue Jun 12, 2020 · 5 comments
Open

Change branch name from "master" to "main" #384

MaikNog opened this issue Jun 12, 2020 · 5 comments
Labels
help wanted Needs Fix PR needs to be fixed before merging

Comments

@MaikNog
Copy link
Contributor

MaikNog commented Jun 12, 2020

Hi,
as a small contribution, maybe the naming could be changed.

https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx

TL;DR:
"git branch -m master main"
"git push -u origin main"

@ckenst
Copy link
Member

ckenst commented Jun 12, 2020

@MaikNog ohhh, interesting. I'll take a look at doing this.

@MaikNog
Copy link
Contributor Author

MaikNog commented Sep 20, 2020

Any update on this @ckenst ? :-)

@ckenst
Copy link
Member

ckenst commented Sep 21, 2020

No update.

@ckenst
Copy link
Member

ckenst commented Jan 13, 2022

Coming back around to this, I found these instructions to be much easier to understand and follow: https://www.git-tower.com/learn/git/faq/git-rename-master-to-main/. Might do this in the near future. GitHub also makes it very simple to make this change.

@ckenst ckenst added help wanted Needs Fix PR needs to be fixed before merging labels Jan 13, 2022
@ckenst
Copy link
Member

ckenst commented Nov 7, 2022

Outside of updating our local branches, I think we'd need to update CircleCI. That should be pretty easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Needs Fix PR needs to be fixed before merging
Projects
None yet
Development

No branches or pull requests

2 participants