error: src refspec master does not match any. error: failed to push some refs to

error: src refspec master does not match any. error: failed to push some refs to_第1张图片

尝试了很久没出来,后来想到了,如果是develop往非develop提交的时候,要写明,是哪到哪。

比如:

$ git push origin develop:master

error: src refspec master does not match any. error: failed to push some refs to_第2张图片

你可能感兴趣的:(error: src refspec master does not match any. error: failed to push some refs to)