我在將檔案推送到我的倉庫時遇到問題。
我有此錯誤訊息:錯誤:src refspec master 不匹配任何內容,如下所示:

有人可以幫我克服這個錯誤嗎?
uj5u.com熱心網友回復:
如果根本沒有分支,請檢查您是否至少有一個提交:
git log --oneline --decorate --graph --all --branches
如果沒有,請嘗試至少進行一次提交:
git status
git add .
git commit -m "first commit"
git push -u origin master
查看
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/510507.html
標籤:github
上一篇:如何在GitHub上創建時間表
