testingconferences.github.io icon indicating copy to clipboard operation
testingconferences.github.io copied to clipboard

Change branch name from "master" to "main"

Open MaikNog opened this issue 4 years ago • 5 comments

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"

MaikNog avatar Jun 12 '20 12:06 MaikNog

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

ckenst avatar Jun 12 '20 21:06 ckenst

Any update on this @ckenst ? :-)

MaikNog avatar Sep 20 '20 11:09 MaikNog

No update.

ckenst avatar Sep 21 '20 17:09 ckenst

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 avatar Jan 13 '22 01:01 ckenst

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

ckenst avatar Nov 07 '22 22:11 ckenst