3 ms·
> This is not a GitHub issue - Git itself now asks you if you would like to use the more inclusive `main`. When does git asks this? From what I've seen, they j
by dgellow 6y ago
> This is not a GitHub issue - Git itself now asks you if you would like to use the more inclusive `main`.
When does git asks this? From what I've seen, they just introduced a new config to change the name of the default branch, which is quite nice in itself (as of Git 2.28, released 27th July 2020).
$ git config --global init.defaultBranch <NAME_OF_YOUR_DEFAULT_BRANCH>