Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

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

Open
2 tasks
jsignell opened this issue Feb 9, 2021 · 0 comments
Open
2 tasks

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

jsignell opened this issue Feb 9, 2021 · 0 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant