原因分析:
引起该错误的原因是目录中没有文件,空目录是不能提交上去的
解决办法:
$ touch xxx
$ git add -A .
$ git commit –m ’xxx’
$ git push origin master
error: src refspec master does not match any
阅读 132
2022-08-03
原因分析:
引起该错误的原因是目录中没有文件,空目录是不能提交上去的
解决办法:
$ touch xxx
$ git add -A .
$ git commit –m ’xxx’
$ git push origin master
相关推荐
精彩评论(0)