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

Move default branch from "master" -> "main" #4496

Closed
2 tasks done
jsignell opened this issue Feb 9, 2021 · 3 comments
Closed
2 tasks done

Move default branch from "master" -> "main" #4496

jsignell opened this issue Feb 9, 2021 · 3 comments

Comments

@jsignell
Copy link
Member

jsignell commented Feb 9, 2021

@jrbourbeau and I are in the process of moving the default branch for this repo from master to main.

What you'll see

Once the name on github is changed (the first box above is Xed, or this issue closed), when you try to git pull you'll get

Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.

What you need to do

First: head to your fork and rename the default branch there
Then:

git branch -m master main
git fetch origin
git branch -u origin/main main
@jrbourbeau
Copy link
Member

I'm going to pin this issue to increase it's visibility

@jrbourbeau jrbourbeau pinned this issue Mar 8, 2021
@jakirkham
Copy link
Member

Should we close this issue now that this is done? Or are we keeping this to guide devs through the change? If the latter, when do you think we should close this?

@jsignell
Copy link
Member Author

I haven't heard any complaints so fine to close for me.

@jrbourbeau jrbourbeau unpinned this issue Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants