3 ms·
But GitLab also implemented this change? Well, they gave admins the option to change the default branch name to whatever they like, and they've announced they'
by input_sh 6y ago
But GitLab also implemented this change?
Well, they gave admins the option to change the default branch name to whatever they like, and they've announced they're changing from master to main by default in the next two months or so: https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/ https://about.gitlab.com/blog/2021/03/10/new-git-default-bra...
You may as well stop using Git completely then, since Git itself uses main as recommended.
- JimDabell 6y ago> Git itself uses main as recommended The default branch name in Git, as of v2.31 (released two days ago), is master.
- input_sh 6y agoAs of v2.28, they've made that configurable with `git config --global init.defaultBranch main`. They're working on it, and that's the first step.
- JimDabell 6y agoAs far as I am aware, no decision has been made to change the default. They just want it to be configurable and not have people make assumptions. Has this changed?
- ecmascript 6y agoThe news is just a week old, I didn't know about it. Maybe I'll use something else than git, what are some modern alternatives?