DEV Community

Discussion on: What does "origin master" mean?

Collapse
 
michaelcurrin profile image
Michael Currin • Edited

If you want git init to start off with main not master, set this in .gitconfig

[init]
defaultBranch = "main"
Enter fullscreen mode Exit fullscreen mode