Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming master branch to main #31

Open
ianheggie opened this issue Dec 14, 2022 · 1 comment
Open

Renaming master branch to main #31

ianheggie opened this issue Dec 14, 2022 · 1 comment

Comments

@ianheggie
Copy link
Collaborator

Although it doesn't affect me personally , I feel that renaming master to main is an appropriate signal of respect for the difficulties many people face.

https://github.com/github/renaming

@jasonkarns
Copy link
Contributor

There is the complication that since git is used as an installation mechanism, there are loads of people who are using the master branch as an installation of rbenv-binstubs, not just developers contributing to the project.

As such, I wonder if it would be worthwhile to maintain the master branch for pulls and updates? (Presumably, github's branch rename feature doesn't actually support redirection for git:// urls or ssh? only http?)

The way I've done this in a few other projects is with a github action that simply fast-forwards master every time main is pushed. This way the default branch can be changed to main, but existing installations (via git) don't break? Then at some point later, we can drop the syncing and delete the master branch altogether?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants