Git push时报错:Updates were rejected because the tip of your current branch is behind
将本地仓库关联到远程仓库后,push报错解决办法
先执行命令:git pull --rebase origin develop(develop是分支明)
然后就是常规操作了 :git push origin develop
将本地仓库关联到远程仓库后,push报错解决办法
先执行命令:git pull --rebase origin develop(develop是分支明)
然后就是常规操作了 :git push origin develop