I'll also add that when I visited the URL of my fork in a browser, I got a message that the main repo had just renamed its master branch. There was a link included for me to do the same.

Britton

On Wed, Jan 20, 2021 at 3:34 PM Michael Zingale <michael.zingale@stonybrook.edu> wrote:
I did:

git fetch upstream
git checkout main
git branch -D master

(upstream is my remote for git@github.com:yt-project/yt, so you'll need to change it to whatever you call your remote)


On Wed, Jan 20, 2021 at 10:32 AM Matthew Turk <matthewturk@gmail.com> wrote:
Good question!  All pull requests have been automatically updated.  I think it's as simple as checking out your old master branch, pulling main, and then checking out main.

On Wed, Jan 20, 2021 at 9:31 AM John ZuHone <jzuhone@gmail.com> wrote:
Good deal. So how do we handle this in downstream forks?

Sent from my iPad

On Jan 20, 2021, at 10:27 AM, Matthew Turk <matthewturk@gmail.com> wrote:


This is now done!

On Wed, Jan 20, 2021 at 8:35 AM Britton Smith <brittonsmith@gmail.com> wrote:
Today works; let's go for it. I'd say anytime.

On Wed, Jan 20, 2021 at 2:31 PM Clément Robert via yt-dev <yt-dev@python.org> wrote:
Aye

On 20 Jan 2021, at 14:48, Matthew Turk <matthewturk@gmail.com> wrote:

Yeah, let's do it!  Let's inaugurate a new era of branch names.  Today good for everyone?

On Wed, Jan 20, 2021 at 4:39 AM Britton Smith <brittonsmith@gmail.com> wrote:
Hi,

Just following up on this. I'm also in favor. As Matt mentioned originally, github is making this quite easy and with very minimal disruption. Shall we go ahead and do it?

Britton

On Mon, Dec 21, 2020 at 12:37 PM Matthew Turk <matthewturk@gmail.com> wrote:
Hi Cameron,

It's just the name -- instead of it being called "master" it will be
called "main."  (In hg, the default branch was usually called
"default.")  Newly created repositories at github utilize "main."

-Matt

On Mon, Dec 21, 2020 at 1:46 AM Cameron Hummels <chummels@gmail.com> wrote:
>
> I don't understand.  Why are we changing the default branch?  To yt-4.0 or something?
>
> Cameron
>
> On Fri, Dec 18, 2020 at 6:36 AM John ZuHone <jzuhone@gmail.com> wrote:
>>
>> +1
>>
>> On Dec 18, 2020, at 9:27 AM, Michael Zingale <michael.zingale@stonybrook.edu> wrote:
>>
>> Definitely in support.  We did this for all of our AMReX codes.
>>
>> On Thu, Dec 17, 2020 at 2:03 PM Matthew Turk <matthewturk@gmail.com> wrote:
>>>
>>> Hi folks,
>>>
>>> In January, Github is making it easier to change the default branch name with a toggle on the website:
>>>
>>> https://github.com/github/renaming
>>>
>>> I know lots of other projects have done this (including maestro) and we could do it ourselves, but I'd like to propose that we do this as soon as GH has the tooling in place to handle it for us.
>>>
>>> If anyone objects we can dig into this during a team meeting or something, but personally this kind of seems uncontroversial and should be easy to implement.
>>>
>>> -Matt
>>> _______________________________________________
>>> yt-dev mailing list -- yt-dev@python.org
>>> To unsubscribe send an email to yt-dev-leave@python.org
>>> https://mail.python.org/mailman3/lists/yt-dev.python.org/
>>> Member address: michael.zingale@stonybrook.edu
>>
>>
>>
>> --
>> Michael Zingale
>> Associate Professor
>>
>> Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800
>> phone:  631-632-8225
>> e-mail: Michael.Zingale@stonybrook.edu
>> web: http://zingale.github.io
>> github: http://github.com/zingale
>>
>> _______________________________________________
>> yt-dev mailing list -- yt-dev@python.org
>> To unsubscribe send an email to yt-dev-leave@python.org
>> https://mail.python.org/mailman3/lists/yt-dev.python.org/
>> Member address: jzuhone@gmail.com
>>
>>
>> _______________________________________________
>> yt-dev mailing list -- yt-dev@python.org
>> To unsubscribe send an email to yt-dev-leave@python.org
>> https://mail.python.org/mailman3/lists/yt-dev.python.org/
>> Member address: chummels@gmail.com
>
>
>
> --
> Cameron Hummels
> Computational Astrophysicist
> California Institute of Technology
> http://chummels.org
>
> _______________________________________________
> yt-dev mailing list -- yt-dev@python.org
> To unsubscribe send an email to yt-dev-leave@python.org
> https://mail.python.org/mailman3/lists/yt-dev.python.org/
> Member address: matthewturk@gmail.com
_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: brittonsmith@gmail.com
_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: matthewturk@gmail.com

_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: brittonsmith@gmail.com
_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: matthewturk@gmail.com
_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: jzuhone@gmail.com
_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: matthewturk@gmail.com
_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: michael.zingale@stonybrook.edu


--
Michael Zingale
Associate Professor

Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800
phone:  631-632-8225

_______________________________________________
yt-dev mailing list -- yt-dev@python.org
To unsubscribe send an email to yt-dev-leave@python.org
https://mail.python.org/mailman3/lists/yt-dev.python.org/
Member address: brittonsmith@gmail.com