Make git init Default to the Master Branch
I prefer master over main, and I want git init to stop assuming otherwise. Git lets you decide. Set it globally Run this once: git config --global init.defaultBranch master Every new repository you …
I prefer master over main, and I want git init to stop assuming otherwise. Git lets you decide. Set it globally Run this once: git config --global init.defaultBranch master Every new repository you …