error: src refspec master does not match any

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

    This error can typically occur when you have a typo in the branch name.

    For example you're on the branch adminstration and you want to invoke: git push origin administration.

    Notice that you're on the branch without second i letter: admin(i)stration, that's why git prevents you from pushing to a different branch!

提交回复
热议问题