GitHub to rename the default branch to main

Search for a command to run...

Glad they're eventually going to make it easy to rename in existing repositories; it would be annoying to do by hand, but also annoying to have different names in different repos.
I wonder if someone will make some git extension to make "master" an alias of "main".
Now that I think about it, I usually do "git init" and add a remote later. I guess this change only works if you clone the empty repo that Github creates. Is git itself going to change too?
Would have been a good idea to add that to the article for people not familiar with the reason. The reason is aimed at removing racially-charged language from software
Yep, spot on. I feel that it is weird for me that they are acknowledging this. Maybe people did not give much thought to do it and were not an issue.
Daniel Ziltener there is. Doing a little research on why will do wonders if you actually care about our black community
Michelle Janosi So you are trying to tell me "master" is offensive to black people? Why? Probably the next thing you're going to tell me that the world revolves around the US, and that slavery is an exclusively black problem? I hope you also bring this discussion to the local BDSM community, I am sure they're thrilled to stop using "master". Also, while you're at it, tell the Germans to stop using "master" as a term for someone who... wait for it... mastered his field of work and got a certificate for that.
Michelle Janosi of course, there's no reply to that... I hope this bullshit at least makes you feel good in some way.
The series content will mostly cover Git and GitHub tutorials and my recent learnings and experience in Git.
Introduction - Part1
All you need to know about Hacktoberfest 2021

Hello reader! Well, Hacktoberfest is something, you are gonna hear a lot about in the coming month. You can refer to my YouTube video Tutorial to see a working tutorial for better understanding and a step-by-step guide of the same. https://www.yo...

Hello reader! In this Blog post, I will share some useful code snippets and functions in Python. Give it a read. Let's get started! 1. Memory The method getsizeof can be used to retrieve the size of any object. Here's an example of the same. import...

Hello reader! Whenever a client sends a request to the server, the response always contains a status code. You might not see it always but it's returned at every client-server interaction. Well, even if you are not a programmer, you would still know...

Hello reader! Microsoft subsidiary GitHub launched Copilot to power pair programming with AI. In this blog post, I will share all you need to know about it. You can refer to my YouTube video Tutorial to see a working tutorial for better understandin...

GitHub to replace 'master' with 'main' starting next month
All new Git repositories on GitHub will be named "main" instead of "master" post September, 2020.

mainis the most popular replacement formasterthat we’re seeing across GitHub. We like it because it’s short, it keeps your muscle memory intact, and it translates well across most languages. We’re using main for our newly-created repositories and for the repositories we’re moving now, like dependabot-core.
On October 1, 2020: newly-created repositories will default to main On October 1, 2020, any new repositories you create will use main as the default branch, instead of master.
This change does not impact any of your existing repositories, existing repositories will continue to have the same default branch they have now.
You can opt out of this change at any time. To opt out, set the default branch for new repositories for your user, organization, or enterprise:
For users, on the https://github.com/settings/repositories page
For organization owners, on the https://github.com/organizations/YOUR-ORGANIZATION/settings/repository-defaults page
For enterprise administrators, on the https://github.com/enterprises/YOUR-ENTERPRISE/settings/member_privileges page
"By the end of the year, we'll make it seamless for existing repositories to rename their default branch," GitHub said.
When you rename the branch, we'll retarget your open PRs and draft releases, move your branch protection policies, and more - all automatically.
What are your views on this? What are the other features you wish GitHub had?
Repository for Ultimate Resource in python. Drop a star if you find it useful! Got anything to add? Open a PR on the same!
You can connect with me on Twitter
Also, have a look at my other Blogs:
Resource: