原因: 空的本地版本库,无法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
最新推荐文章于 2025-05-13 00:00:00 发布
原因: 空的本地版本库,无法push到remote仓库,
git commit --allow-empty -m" empty commit "
或者 随意本地提交一次
然后,git push origin master