|
|
|
Has GitHub reverted its default branch nomenclature back to “master”?
|
|
1 points
by eclat
1589 days ago
|
|
I just realised when creating a new repo that the default prompt mentions master instead of main. Good on them, I'm glad common sense prevailed on this non-issue. Is this the case everywhere? Current new repo text: ..or create a new repository on the command line echo "# repo" >> README.md git init git add README.md git commit -m "first commit" git branch -M master git remote add origin https://github.com/your/repo.git git push -u origin master |
|
I don't know whether changing that changes the "new repo text" but since the text for "Repository default branch" says "You might want to change the default name due to different workflows, or because your integrations still require “master” as the default branch name." I would guess the default default is "main", so either you have set your default to "master", or the new repo text is out-of-date, I would guess.