go-gerrit icon indicating copy to clipboard operation
go-gerrit copied to clipboard

Change coming ahead: Renaming `master` branch to `main` 💥

Open andygrunwald opened this issue 1 year ago • 1 comments

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.

andygrunwald avatar Oct 20 '24 08:10 andygrunwald

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.

dmitshur avatar Oct 20 '24 12:10 dmitshur