【Git_push】hint: not have locally. This is usually caused by another repository;rejected
## 问题
# 在push代码的时候报 以下错误
**加粗样式**
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
还没有评论,来说两句吧...