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

Change coming ahead: Renaming master branch to main 💥 #175

Open
andygrunwald opened this issue Oct 20, 2024 · 1 comment
Open

Change coming ahead: Renaming master branch to main 💥 #175

andygrunwald opened this issue Oct 20, 2024 · 1 comment

Comments

@andygrunwald
Copy link
Owner

Hey all,

I plan to rename our default branch master to main.
Why? This is mainly described in https://github.com/github/renaming

How to migrate

If you have a local version of go-gerrit, here is how you can migrate:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

When we make the change?

On Monday, the 4th of November 2024

I have concerns ...

Please add a comment to this issue.

Additional information

This issue is just for informational purposes.

@dmitshur @opalmer Please let me know how you think about this renaming operation.

@dmitshur
Copy link
Collaborator

dmitshur commented Oct 20, 2024

Sounds great, I’m in agreement. This change will be transparent for users of the Go package, so only those who have a pre-existing git checkout for development purposes will need to migrate, and it’s low overhead to do so. FWIW, I’m already using the new proposed branch name locally, so it’ll be great to have the remote name match.

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

No branches or pull requests

2 participants