OUTRAGED RACOON COACHING

ILM Certified Coach | Neurodivergent | Queer | Non-Binary | Disabled | A Little Feral

Book a session

Setting new branches to 'main' by default

You can use: git init --initial-branch=main to initialize a new branch called ‘main’ instead of master.

To set this globally for new repos you can use: git config --global init.defaultBranch main

Neat, make the magic happen.