> I have above 200 feature branches in my local > repository. Will renaming
> the master branch cause any problems?

It should not be any problem at all. If you have some open PRs from some of those branches, they will be automatically retargeted to the new branch name in GitHub automatically.

On Thu, 11 Mar 2021, 07:37 Serhiy Storchaka, <storchaka@gmail.com> wrote:
10.03.21 16:06, Pablo Galindo Salgado пише:
> # What you need to do?
>
> You just need to update your local clone after the branch name changes.
> From the local clone of the repository on a computer,
> run the following commands to update the name of the default branch.
>
> $ git branch -m master main
> $ git fetch origin
> $ git branch -u origin/main main
>
> Apart from that, you should update any local script or command that uses
> the name "master" to use the name "main".

I have above 200 feature branches in my local repository. Will renaming
the master branch cause any problems?

_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/G2LLBPJMIBD2DOA7AVTYYA77PGLGYLUE/
Code of Conduct: http://python.org/psf/codeofconduct/