Why can't I add files to a new git project?


Passed registration in Git lab , clicked on the new project button, entered the necessary commands from the page with the project.

After command git push -u origin master I get errors error: src refspec master does not match any .

error: failed to push some refs to 'http://git.cloudteam.pro/"my name"/dates.git'

Please tell me what I'm doing wrong and how to fix it.


Confused by the line "my name" in http://git.cloudteam.pro/"my name"/dates.git . Is this what you have in your console? Instead of "my name" you need to put your name on the gitlab. To do this, edit the .git/config file

Scroll to Top