The default has been main for awhile.
This is the case in our current version of git (git version 2.28. 0). As of October 1, 2020, any new repository you create on GitHub.com will use main as the default branch.
March 2021 for gitlab
Comment on If "Master/Slave" terminology in computing sounds bad now, why not change it to "Dom/Sub"?
Tyoda@lemm.ee 4 weeks agoThe default for git repositories is still master. Not to be the “real programmers only use CLI” guy, but I feel like git init
isn’t too hipster.
The default has been main for awhile.
This is the case in our current version of git (git version 2.28. 0). As of October 1, 2020, any new repository you create on GitHub.com will use main as the default branch.
March 2021 for gitlab
Still the default in git.
…but recommended to be changed every. single. time. you git init. lemmy.world/comment/11895670
Sinthesis@lemmy.world 4 weeks ago
…which you get a multiline message telling you to change your ways (Linus doesn’t break UX)…every time you init…weird.
Tyoda@lemm.ee 4 weeks ago
Gonna be honest, I don’t think I ever read that. I think I usually just do
git status
immediately after to see if all’s well.