untracked file in git when creating the respository

Viewed 85

I have a wordpress project that I would to push there files in my repository.

First, when I commit, I have this message :

Untracked files:
        wordpress/

Nothing added to commit but untracked files present.

After, when I use "git push origin master", I have this :

error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/islem98/ProjetWordPress.git'

How can I fix it?

1 Answers
Related