原因: 空的本地版本库,无法push到remote仓库,
git commit --allow-empty -m" empty commit "
或者 随意本地提交一次
然后,git push origin master
error: src refspec master does not match any. error: failed to push some refs to xxx
最新推荐文章于 2024-07-03 16:44:31 发布
原因: 空的本地版本库,无法push到remote仓库,
git commit --allow-empty -m" empty commit "
或者 随意本地提交一次
然后,git push origin master