For context, I’m still trying to get things setup for git and github to work together well, and I’m getting pretty close.
The problem I’m currently facing is that git uses the master branch, but github uses the main branch. I read a long article about why exactly that is, which was nice, but the recommendation to fix it didn’t help.
The artcle recommended
git init --initial-branch=main
However, that returns:
warning: re-init: ignored --initial-branch=main
I searched for this error online but I didn’t find anything helpful for me.
Any ideas on how to get git to stop ignoring me? Bad git!
Thanks in advance!