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.

Can we rename the development branch to main?

See original GitHub issue

Hi Marco,

Some of the projects refer code from this repo. Is it possible to change the branch name to something that you prefer? (perhaps main!)

Thanks a lot and Regards, Janardhan

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jcudacommented, Nov 3, 2021

Maybe I’ll consider renaming the branch when people receive their diploma saying “Main Of Science” instead of “Master Of Science” 😉

But seriously, I think that renaming the branch does not have any tangible positive effect, but is more likely to have negative technical effects (builds and scripts being broken etc), so it doesn’t seem to be worth the effort right now.

1reaction
jcudacommented, Nov 3, 2021

git: (Britain, slang, derogatory) A silly, incompetent, stupid, annoying or childish person (usually a man).

https://en.wiktionary.org/wiki/git

That sounds pretty offensive. But I won’t urge the Git developers to change that name. And I won’t rename the branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to rename the "master" branch to "main" in Git
This short article will help you rename "master" in your own Git repositories to "main" (or any other term your team has chosen)....
Read more >
How to rename the master branch to main
Now you can rename the local branch with the following command: ... If it's master you will need to change that to your...
Read more >
Git Rename Branch – How to Change a Local Branch Name
We can rename the local branch in just one command without having to use git checkout . Step 1: Make sure you are...
Read more >
How do I rename a local Git branch?
1. Rename your local branch · 2. Delete the old-name remote branch and push the new-name local branch · 3. Reset the upstream...
Read more >
How to rename and change a Git branch name locally &amp
The steps to change a git branch name are: Rename the Git branch locally with the git branch -m new-branch-name command; Push the...
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