-
Notifications
You must be signed in to change notification settings - Fork 797
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 #2217
Conversation
- jupyterhub/jupyterhub - jupyterhub/zero-to-jupyterhub-k8s
Avoids problems if someone accidentally pushes a new master branch
Nice work let's get this done! I'll do review tonight/tomorrow. If this LGTM, can i go ahead and follow the steps you outlined or should i wait a bit? |
It should be good to go (unless I've missed something) 😀 |
All steps done.
|
Thanks @manics for your maintenance work ❤️❤️❤️ |
jupyterhub/zero-to-jupyterhub-k8s#2217 Merge pull request #2217 from manics/master2main
Oh, I should've said rename the master branch to main (which will automatically update all PRs) instead of creating a new branch. If there's no changes between master/main might be worth deleting main and renaming master? |
@manics ah absolutely! can you go ahead and do some magic? |
I don't have permission to change the default branch back to master (though it looks like I've got permission to rename branches) |
@manics I invited you to be an admin for this repo where I'm an admin already |
Thanks, done! I've left the temporary main branch as |
@manics 🎉 wieee nice - main-to-be-deleted branch deleted |
@manics can you updated you checkpoint list with the branch rename step you did so I can use this as a reference for other repos in the org later? |
I opened a new team-compass issue instead: jupyterhub/team-compass#412 |
This is a copy of the workflow from jupyterhub/jupyterhub#3462
master
withHEAD
in GitHub URLs, which seems to automatically resolve to the default branchmaster
where it refers to a git branchActions to take, in order:
main
in GitHub repo settingsRemaining mentions of
master
:CHANGELOG.md
usesmaster
in some historical PR descriptionsCONTRIBUTING.md
hasmaster
in some old log outputdoc/source/kubernetes/setup-helm2.md
is removed in Remove setup-helm2.md #2216doc/source/jupyterhub/customizing/user-environment.md
usesmaster
in a gitpuller command