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

Switch default branch to main #121

Open
bkircher opened this issue Mar 16, 2021 · 1 comment
Open

Switch default branch to main #121

bkircher opened this issue Mar 16, 2021 · 1 comment

Comments

@bkircher
Copy link
Contributor

We want to switch the default branch name from master to main for all gridscale Open Source projects including this repository.

This involves:

  • Switching the default branch name here on GitHub
  • Updating all references of the master branch name in GH Actions and other CI/CD pipelines and scripts
  • Giving contributors a bit of info on how to update their remotes in their local copies of the repo

Would be nice to do this coordinated and in "one go" so that contributors are not surprised by inconsistent naming or repositories not having switched yet. If you want to help out here contact @bkircher

@neur0manc
Copy link

Not too many places where master is referenced directly. Excluding everthing in .git these are all hits:

master % rg master
release-checklist.md
5:On master branch:

CONTRIBUTING.md
9:* Development is based on the `master` branch.
10:* Releases are cut from the `master` branch and tagged.
master % rg master .*
.github/workflows/go.yml
5:    branches: [master]
7:    branches: [master]
master %

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