Hacker News new | past | comments | ask | show | jobs | submit login

My point is that you do not need to follow github's suggestion and rename your branch to "main". It seems to me that github's "change" is only a suggestion in their instructions to create a new repository. They do not rename your branches nor force a name to you. You get to chose the name of your branches, and the default name for the git program is still "master".



Which is still an empty gesture, that is still leading to wasted time.

FYI github's repo creation tool now defaults to main. A lot of orgs use this tool because they will also use repo templates. I know git, the program, is still defaulting to master.


> FYI github's repo creation tool

What is this tool? I always used github by pushing my locally-created repos to it, and this procedure still creates a "master" branch. I was not aware that there are other ways to use github, thus my surprise at the exaltation. I guess people who still use "plain git" are unaffected by the renaming of the default branch in github (whatever that means).



So, in that page, after you enter the repo name, three options appear.

1. Start the repository by creating new file: it opens a github text editor. I never used this option (what kind of savage uses github's text editor???), but to be fair it creates a default branch named "main"

2. Create a new repository from the command line: run git init, etc. You get to choose the branch name, then push it to github.

3. Push your existing local repository to github. It will get whateber branch name it already had, probably "master".

So the only people affected by the change are those who use github's text editor and chose the first option. I guess not many people do that? For the most common options you get to chose the name of the branch, that by default is "master" (not that there's anything wrong with that).


Not if you want to use a repository template.

Also we can argue until the cows come home about how little effort is actually involved. It could literally be a single click and it's still all still by-the-by. This is an empty virtue signal doing nothing - repeat nothing - to help the inclusion of minorities.


Sure, the name change was a stupid move in the first place. But as stupid moves go, this one fortunately does not affect my life at all (and that of most github users I guess).





Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: