git push 报错 error:src refspec master does not match any
git push 报错error: src refspec master does not match any error: failed to pushsome refs to ‘https://github.com/xxx.git’问题分析错误的原因是,目录中没有文件,空目录是不能提交上去的,而且在push之前至少有过一次commit解决方式git initgit remote add origin https://github.com/xx.gitgit add . git co