Rename master branch to main
See original GitHub issueI suggest to rename our current master
branch to the new GitHub standard name main
.
More details on why and what has to be done here: https://github.com/alan-turing-institute/the-turing-way/issues/1210
What do I have to do as an sktime contributor now that the renaming has happened?
Any collaborator with a local clone of the repository will need to update the clone. From the local clone of the repository on a computer, run the following commands to update the name of the default branch:
git branch -m master main
git fetch origin
git branch -u origin/main main
More info at https://docs.github.com/en/github/administering-a-repository/renaming-a-branch
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
How to rename the "master" branch to "main" in Git
In case you are using the Tower Git client, you can rename branches very easily: After creating the new "main" branch on the...
Read more >How to rename the master branch to main - DEV Community
Rename master to main. First thing to do is to checkout the master branch if you didn't already: git checkout master # Also...
Read more >How to rename your "master" branch to "main" - GRRR Tech
From the branches page of your repository, you can rename the branch by clicking the little pencil icon. When renaming your branch, GitHub...
Read more >How to rename your Git master branch to main. - GitHub
Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches and click...
Read more >Why GitHub renamed its master branch to main | TheServerSide
GitHub renamed the master branch to main for any Git repository, as it addresses cultural change like so many organizations that have nixed ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
PR looks good, thanks again @ayan-biswas0412, we just need to find a good time to make the change.
@mloning can you review by PR #667 I have changed the master to main in the docs folder as you said