Skip to content

Rename the default branch to main #1578

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

Closed
jtpio opened this issue May 9, 2022 · 3 comments
Closed

Rename the default branch to main #1578

jtpio opened this issue May 9, 2022 · 3 comments
Milestone

Comments

@jtpio
Copy link
Member

jtpio commented May 9, 2022

Most of the other Jupyter repositories have now switch to main as their default branch.

Opening this issue for visibility. If someone would like to go ahead and do the renaming feel free! Otherwise we can give it a couple of days until 0.7.0 stabilizes before doing it.

It should now be relatively straightforward using the GitHub UI, which will update the PR automatically:

image

We can then post a quick message here to let folks know how to update their forks, similar to jupyter/notebook#6295. And pin the issue to increase visibility and awareness about this change.

@jhamrick jhamrick added this to the 0.8.0 milestone May 18, 2022
@jhamrick
Copy link
Member

I've now renamed master to main. To update forks to have the main branch too:

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

@jhamrick jhamrick pinned this issue May 18, 2022
@jtpio
Copy link
Member Author

jtpio commented May 18, 2022

Nice, thanks!

@jtpio
Copy link
Member Author

jtpio commented May 18, 2022

cc @brichet for awareness

@brichet brichet unpinned this issue Feb 15, 2024
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