git提交代碼至GitLab或GitHub出現 src refspec master does not match any

git提交代碼至GitLab或GitHub出現 src refspec master does not match any
如下
這裏寫圖片描述
解決方案:
輸入

git add README 
git commit -m 'first commit'
git push origin master

這裏寫圖片描述
即可上傳

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章