想提交本地仓库的文件,报错–src refspec master does not match any. 原因1:网上有说是因为提交空文件夹 原因2:要先同步远程仓库 : $ git pull origin master