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 default branch from `master` to `main`

See original GitHub issue

While the change is expected to be coming to github overall, there is a move to rename default branches to main

https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/

The scale and scope of the change is small enough that it only takes a few seconds to do

more background https://jarv.is/notes/github-rename-master/

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
ciro-unitycommented, Oct 20, 2020

several smaller PRs

I’ve never seen this concept happen on this repo yet 🤣

3reactions
AlexChessercommented, Oct 14, 2020

For new PRs - once we make main the default branch, it should just be automatic. Right?

yes - all new PRs (will) should come in to main by default once you complete steps 1 and 2 above!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to rename the "master" branch to "main" in Git
After creating the new "main" branch on the remote, you might then (depending on your Git hosting platform) have to change the "default"...
Read more >
Easily rename your Git default branch from master to main
Go to the master branch · Rename master to main locally · Get the latest commits from the server · Remove the link...
Read more >
How do I change the Git default branch name for new ...
Go to Admin Area -> Settings -> Repository. · Expand Default initial branch name. · Change the default to main. · Save changes....
Read more >
How to Rename the Default Git Branch and Why You'd ...
Open Settings via your profile photo in the top-right. · Click Repositories in the left-hand menu. · Under the Repository default branch section, ......
Read more >
How to rename your Git master branch to main.
Change your default branch on GitHub by going to your GitHub repository in your browser, and navigate to Settings > Branches and click...
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