error: src refspec master does not match any error: failed to push some refs to :“xxx”
将代码托管到Github和Gitee时报错,将git push -u origin master改为git push -u origin main。如下图所示:具体报错原因:(11条消息) error: src refspec master does not match any error: failed to push some refs to :Git新手错误原因_程序小bug的博客-CSDN博客...