git相关问题1 failed to push some refs to 'https://gitee.com/xxx/xxx

error: src refspec master does not match any

error: failed to push some refs to 'https://gitee.com/xxx/yyy.git'
原因如英文,未commit本地仓库文件修改:

git add FILENAME

git commit -m "commit once"

 

git init 
touch README.md
git add README.md
git commit -m "commit once"
git remote add origin https://gitee.com/xxx/yyy.git
git push -u origin "master"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章