Git push时报错:Updates were rejected because the tip of your current branch is behind

原文链接:Git push时报错:Updates were rejected because the tip of your current branch is behind - 简书 (jianshu.com)

将本地仓库关联到远程仓库后,push报错解决办法

先执行命令:git pull --rebase origin develop(develop是分支明)

然后就是常规操作了 :git push  origin develop 

 

posted @ 2022-02-18 16:58  梦醒江南·Infinite  阅读(266)  评论(0编辑  收藏  举报