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

Rename master branch to main #2405

Closed
eamonnmcmanus opened this issue Jun 1, 2023 · 2 comments · Fixed by #2410
Closed

Rename master branch to main #2405

eamonnmcmanus opened this issue Jun 1, 2023 · 2 comments · Fixed by #2410

Comments

@eamonnmcmanus
Copy link
Member

In keeping with recent practice, we should rename the master branch on GitHub to main. This change is well-supported on GitHub.

One notable effect is that we can change the links to the troubleshooting guide that were recently added to some exception messages, so that they look like https://github.com/google/gson/blob/main/Troubleshooting.md#foo instead of https://github.com/google/gson/blob/master/Troubleshooting.md#foo. (The old links will continue to work after the rename, but the new ones will be preferred.)

@eamonnmcmanus
Copy link
Member Author

I've renamed the branch, but we also need #2410 to complete this.

Incidentally, renaming the branch closed a bunch of old PRs that were targeted to the old branch. I think it was only PRs where the originating repo no longer exists.

@Marcono1234
Copy link
Collaborator

Marcono1234 commented Jun 9, 2023

Incidentally, renaming the branch closed a bunch of old PRs that were targeted to the old branch. I think it was only PRs where the originating repo no longer exists.

For reference, it looks like the following PRs were affected:

And apparently three pull requests which don't exist anymore for whatever reason: #1846, #2095, #2368

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

Successfully merging a pull request may close this issue.

2 participants