mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Aral Balkan

If you’ve migrated the default branch of your git repository from master to main, please delete the master branch and ensure that the main branch is set as the default in your git remote host (e.g., GitHub, etc.) so people don’t accidentally base their contributions on the master branch.

If you do a git branch --move, you won’t have the above issue.

Here’s a good guide for all this, including updating your local settings so that git init uses main instead of master: hanselman.com/blog/easily-rena

www.hanselman.comEasily rename your Git default branch from master to mainThe Internet Engineering Task Force (IETF) points out that 'Master-slave is an ...

@aral
Very good guide indeed, I used that one in many of my projects in order to migrate them :mastoblush:

@aral I often confusing main and master because they looks almost the same to me but master is not preferred word in my vocabulary so I make senpai branch as a main

@aral I believe GitHub like literally just released a feature to rename branches (and automatically retarget things like open PR’s) like yesterday or something.

Https://GitHub.com/GitHub/rena

github.comgithub/renamingGuidance for changing the default branch name for GitHub repositories - github/renaming

@aral my team at GitHub also just pushed out default branch renaming. You can perform these changes on GitHub and we will walk contributors through updating their clone’s default branch. Also we will handle redirects for old URLs that point to your old branch name.

@harpaa01 Thanks, Aaron, that sounds very useful :)

@aral
I always saw that name in github as in "master crafter" or in "mastery". I mean only tested robust and seasoned code should be on there.

I mean, ok master/slave in replication or workload delegation is obviously a reference to slavery but here?

@SylvainDe Does it matter? I mean not only has GitHub already implemented it so it’s no trouble at all to adopt but if it means that even one person doesn’t feel bad because of something that’s so easy to change, why not? (Not to mention that main or default are far more semantically correct as a branch does not have to be based on the main branch, which is what a master/copy relationship implies.)

@aral
Well, I understand the feeling, but I'm a "get confortable being inconfortable" kind of guy when justified. In this specific issue, ( french native, still learning English and French) I don't think "mastery" implies being a teacher, boss or trainer. ( May be wrong) so in that case, I believe there is room for nuance in the term.
Slave/master: bad
Master-expert : nice
And I'm fond of keeping nuance in the world.

@aral
I loved that many projects spent a comparable time putting "Black lives matter" banners on their homepages at the time helping spread the word. This, seemed to me like a more productive and frankly, clearer way to address the issue.