当前位置:   article > 正文

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

hint: not have locally. this is usually caused by another repository pushing
##  问题
#  在push代码的时候报 以下错误![在这里插入图片描述](https://img-blog.csdnimg.cn/8bfbf446f161486b8228ebdc8baaf9fd.png)
**加粗样式**
  • 1
  • 2
  • 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

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号