error: src refspec master does not match any.

執行下面的命令,git push 時候出錯:git

git push  origin master

出現以下錯誤:github

error: src refspec master does not match any. error: failed to push some refs to 'git@github.com:********'

緣由:spa

本地倉庫爲空code

解決辦法:blog

git add somefile git commit -m "comment"
相關文章
相關標籤/搜索