error: src refspec master does not match any

后端 未结 21 1213
别跟我提以往
别跟我提以往 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

    By just adding an empty commit will fix issue by using

    $ git commit -m "empty commit" --allow-empty
    $ git push
    

    // above make empty commit without edit then push

提交回复
热议问题