Answer the question
In order to leave comments, you need to log in
Error fatal: couldn't find remote ref main?
Created an empty repository in github
Connected locally (I have ssh keys)
git init
git remote add origin [email protected]:..........git
Next I entered this
git branch -M main
git push -u origin main
And got the error error: failed to push some refs to 'github.com:,,,,,,,,,,,,,,,,,,,,,,,,,.git
' empty) and I see an error
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question