Currently, if you opt to use Git, the extension will force the initial branch name to main, overriding any user's default initial branch name.
I think this is a little over-opinionated. The default initial branch name when you install Git is already main unless you specify to change it during the installation, so a simple git init would suffice there and would also work for people to choose to use a different default branch name like master and thus have that set in their global git config.
Hi,
Currently, if you opt to use Git, the extension will force the initial branch name to
main
, overriding any user's default initial branch name.I think this is a little over-opinionated. The default initial branch name when you install Git is already
main
unless you specify to change it during the installation, so a simplegit init
would suffice there and would also work for people to choose to use a different default branch name likemaster
and thus have that set in their global git config.Thanks, D