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

See original GitHub issue

Hello,

amid the global BLM protests, it seems a number of free/open-source software projects are now reconsidering the naming of their main source-code management branch, historically called master in git. Microsoft seems to be actively working on bringing out-of-the-box support for other naming schemes to GitHub.

Despite its widespread use in the contexts of software development and hardware interfaces, the term “master” may be considered offensive by some. While one could argue that this perception entirely disregards context, I would argue that nothing is lost by dropping the name. I would consider moving to a different name as a token of support for the struggles of ethnic minorities and marginalized people; and it would be a public display of some (granted, cheap, but still visible) efforts to actively embrace an inclusive community. Lastly I would argue that our Code of Conduct actually doesn’t leave us much of a choice anyway, as it clearly states we vow to use “welcoming and inclusive language”. Now if the master term has been identified to be non-inclusive – regardless of whether we feel that this is true or not – it should be dropped.

Looking forward to reading your thoughts on this!

Best wishes,

–Richard

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
hoechenbergercommented, Jan 16, 2021

I just renamed master to main on https://github.com/hoechenberger/questplus

After that I had to run locally:

git branch -m master main
git fetch origin
git branch -u origin/main main

All working now.

This is the message that GH displays when visiting the repo: Screen Shot 2021-01-16 at 13 24 07

2reactions
cbrnrcommented, Jul 22, 2020
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 >
Renaming the default branch from master - GitHub
Many communities, both on GitHub and in the wider Git community, are considering renaming the default branch name of their repository from master...
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