If you’ve migrated the default branch of your git repository from master to main, please delete the master branch and ensure that the main branch is set as the default in your git remote host (e.g., GitHub, etc.) so people don’t accidentally base their contributions on the master branch.

If you do a git branch --move, you won’t have the above issue.

Here’s a good guide for all this, including updating your local settings so that git init uses main instead of master: hanselman.com/blog/easily-rena


Very good guide indeed, I used that one in many of my projects in order to migrate them :mastoblush:

Melde dich an, um an der Konversation teilzuhaben

Mastodon ist ein soziales Netzwerk. Es basiert auf offenen Web-Protokollen und freier, quelloffener Software. Es ist dezentral (so wie E-Mail!).