git push error

来源:互联网 发布:免费微信数据恢复软件 编辑:程序博客网 时间:2024/05/21 09:47
$ git push

error: src refspec refs/heads/master does not match any.


出现这个错误说明你提交的只是空的文件夹, 里边没有任何文件,在文件夹中添加文件然后

git add  [文件夹]

git commit [文件夹]

git push [文件夹]

然后就可以了

原创粉丝点击