git提交代码从reject到提交成功全过程
这里是不断发芽的山有木兮,希望这个帖子可以帮到你!
1. 问题重述
git提交出现“updates were rejected because a pushed branch tip is behind its remote”
git报错如下:
09:01:59.572: [LCIntelligenceFusionSystem] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/cxd:develop --tags
error: failed to push some refs to 'ssh://git.piesat.cn:27022/hezhipeng/LCIntelligenceFusionSystem.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
To ssh://git.piesat.cn:27022/hezhipeng/LCIntelligenceFusionSystem.git
hint: counterpart. Check out this branch and integrate the remote changes
! refs/heads/cxd:refs/heads/develop [rejec