Change the default branch name from master to other. Recently, there are many suggestions about renaming the default branch master to some other name.
Recently, there are many suggestions about renaming the default branch *master *to some other name. This was mainly due to the master-slave metaphor.
There is evidence that states it was intended to mention master-copy **or master recording. **And it is not intended to be master-slave.
But I think it’s people’s perspective, and they should be empowered to make this change.
So let’s see how to change the default git branch master to default (you can use your preferred name)
Before starting I have to tell you that I have tried this in multiple repos and it’s working fine without any breaking changes. If you are not confident enough then fork your repo and try it first.
git branch -m master default
The above command just renames the default branch to the name default.
-m attribute is used to rename the branch name without affecting the branch’s history.
Now the default branch is changed in the local but not in the remote.
To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.
Check out these five criteria for the selection of your software vendor, and you will never regret having the wrong quality product made for you.
There are many Git tips and best practices available on the internet that can help you in your day to day activities. You can save you valuable time, and stay productive with best practices and you can improve your workflow. One of the cool things in the Git is to do parallel programming.
In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…
Vinew Technologies focused majorly over ERP Software services and POS Software services, Web & Application development services & Woo commerce and Wordpress easy-to-use, multipurpose social media plugin for WordPress.