1、git push 上传出错
$ git push origin master
error: src refspec master does not match any
error: failed to push some refs to 'github.com:1yuanBoss/Python_Test.git'
出现这个原因是,我们的主干的名字不是 master 而是main
将 master换成main 即可
$ git push origin main