原因分析
引起该错误的原因是,目录中没有文件,空目录是不能提交上去的
解决方法
touch README git add README git commit -m 'first commit' git push origin master
最后
以上就是贤惠铃铛最近收集整理的关于解决:github上传时出现error: src refspec master does not match any的全部内容,更多相关解决:github上传时出现error:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复