执行下面的命令,git push 时候出错:
git push origin master
出现如下错误:
error: src refspec master does not match any. error: failed to push some refs to 'git@github.com:********'
原因:
本地仓库为空
解决办法:
git add somefile git commit -m "comment"
2023-10-07 22:40:40
执行下面的命令,git push 时候出错:
git push origin master
出现如下错误:
error: src refspec master does not match any. error: failed to push some refs to 'git@github.com:********'
原因:
本地仓库为空
解决办法:
git add somefile git commit -m "comment"