问题 : error:src refspec master does not match any
原因: 目录中没有文件,空目录是不能提交上去的
解决办法: 使用git add 添加需要上传的文件
PS: git add . 将所有修改的内容添加到缓存区(参考https://www.yiibai.com/git/git_add.html)
问题 : error:src refspec master does not match any
原因: 目录中没有文件,空目录是不能提交上去的
解决办法: 使用git add 添加需要上传的文件
PS: git add . 将所有修改的内容添加到缓存区(参考https://www.yiibai.com/git/git_add.html)
本文标题:github上传时出现error: src refspec ma
本文链接:https://www.haomeiwen.com/subject/ekbijftx.html
网友评论