error: src refspec master does not match any… 错误报告内容如下 error: src refspec master does not match any error: failed to push some refs to 'https://github.com/XXX/xxx.git' 原因如下 github为了消除奴隶制的不必要引用,把master这个关键词换成了main,以后新项目都要这样push啦~ git push origin main 解决情况 push完毕~