error: src refspec master does not match any error: failed to push some refs to 'gitee.com:guan-heyun/springboot-weixin.git'
时间: 2023-11-11 12:58:21 浏览: 161
error: failed to push some refs to 'https://gitee.com/xiao-long
这个错误通常是因为本地仓库没有提交任何更改,导致无法推送到远程仓库。可以尝试先执行以下命令:
```
git add .
git commit -m "initial commit"
git push origin master
```
如果还是出现相同的错误,可以尝试强制推送:
```
git push -f origin master
```
阅读全文