【Git_push】hint: not have locally. This is usually caused by another repository;rejected

野性酷女 2024-03-16 16:47 122阅读 0赞
  1. ## 问题
  2. # 在push代码的时候报 以下错误![在这里插入图片描述](https://img-blog.csdnimg.cn/8bfbf446f161486b8228ebdc8baaf9fd.png)
  3. **加粗样式**

在这里插入图片描述

在这里插入图片描述

21:17:15.305: [springCloud] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push —progress —porcelain origin refs/heads/master:master —set-upstream
error: failed to push some refs to ‘https://gitee.com/jacob-0/spring-cloud-config’
To https://gitee.com/jacob-0/spring-cloud-config
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
! refs/heads/master:refs/heads/master [rejected] (fetch first)
hint: to the same ref. You may want to first integrate the remo

发表评论

表情:
评论列表 (有 0 条评论,122人围观)

还没有评论,来说两句吧...

相关阅读