解决:github上传时出现error: src refspec master does not match any

末蓝、 2022-04-25 09:12 377阅读 0赞

原因分析

  引起该错误的原因是,目录中没有文件,空目录是不能提交上去的

解决方法

git add README

git commit -m ‘first commit’

git push origin master

发表评论

表情:
评论列表 (有 0 条评论,377人围观)

还没有评论,来说两句吧...

相关阅读