Well, we all might have heard that GitHub will remove the
master naming convention for default branch.
GitHub's Twitter page posted that it stands with the black community and the fight against racism.
GitHub@githubBreonna Taylor, George Floyd, Ahmaud Arbery, Tony McDade, and countless others deserve justice. We extend our support to Black Hubbers and Black developers. GitHub stands with the Black community in the fight against racism and injustice, and will continue to take action.16:17 PM - 07 Jun 2020
There are many people who might be looking to rename their branch to something more clearer and better.
In Git, "master" is a naming convention for a branch. After cloning (downloading) a project from a remote server, the resulting local repository has a single local branch: the so-called "master" branch. This means that "master" can be seen as a repository's "default" branch.
The master-slave relationship in technology usually refers to a system where one - the master - controls other copies, or processes.
The years-old campaign to replace such terms has been given fresh impetus amid the resurgence of Black Lives Matter protests in the United States.
Mr Friedman's announcement came in a Twitter reply to Google Chrome developer Una Kravets, who said she would be happy to rename the "master" branch of the project to "main".
"If it prevents even a single black person from feeling more isolated in the tech community, feels like a no-brainer to me," she wrote. (Excerpt from BBC Report)
Alternate names can be:
Let's name our
master branch to
i. Checkout your
git checkout master
ii. Create your
release branch and switch to it
git branch release
git checkout release
iii. Push that to the server
git push origin release
iv. Delete the
master branch reference on the server
git push origin :master
v. Delete the local
git branch -d master
Let me know what can be a more better name for master branch?
Share your ideas in the comments section so that it's easier for new developers and programming community to decide the alternative or I must say original names for both terminologies.