T
T
Theory Theory2021-07-01 19:12:32
git
Theory Theory, 2021-07-01 19:12:32

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
60dde91274da6752121638.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question