git push报错的处理

91 阅读1分钟

error: failed to push some refs to '' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes

这种情况一般是本地修改和推送冲突导致 可以通过以下方式重新拉取远程代码再尝试

git pull --rebase origin master