Y
Y
YakutD2019-03-19 01:25:52
git
YakutD, 2019-03-19 01:25:52

How to push a created repository to github?

error: src refspec master does not match any
error: failed to push some refs to 'мойрепозиторий'

This is the error I see. No one except me has access to the repository, did not change anything, what happens at all? It seems like I do the same as it is written on the github itself:
git init
git add README.md
git commit -m "first commit"
git remote add origin адресрепозитория
git push -u origin master

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