Can't push onto my repository


#1

I want to pysh my project to a github repository called luna.git:

I followed the instructions :
echo “# luna” >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/raouiyounes/luna.git
git push -u origin master

But I get this error

error: src refspec master does not match any.
error: impossible de pousser des références vers ‘https://github.com/raouiyounes/luna.git


#2

Hey there, @raouiyounes, thanks for your post.

This is the forum for the GitHub GraphQL API and the GitHub Apps feature.

That said, it looks like you have a repository: https://github.com/raouiyounes/luna

My recommendation would be to say git fetch origin and then try to git push origin master again. If that doesn’t work, please contact support@github.com for more help.


#3