question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rename master branch to main

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mloningcommented, Feb 14, 2021

PR looks good, thanks again @ayan-biswas0412, we just need to find a good time to make the change.

2reactions
ayan-biswas0412commented, Feb 8, 2021

@mloning can you review by PR #667 I have changed the master to main in the docs folder as you said

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found