error: src refspec master does not match any

后端 未结 21 1206
别跟我提以往
别跟我提以往 2020-12-22 17:38

I have tried to follow the solutions suggested in this post but it didnt work and I am still getting: src refspec master does not match any.

Here is what I did: Fo

21条回答
  •  再見小時候
    2020-12-22 18:17

    i have same problem, to solve it, follow these steps

     git init
     git add .
     git commit -m 'message'
     git push -u origin master    
    

    after this, if you still having that error, follow these steps again

     git add .
     git commit -m 'message'
     git push -u origin master 
    

    that worked for me and Hope it will help anyone

提交回复
热议问题