【问题标题】:What does "Updates were rejected" mean in Git Bash terminal?Git Bash 终端中的“更新被拒绝”是什么意思?
【发布时间】:2020-08-14 10:50:55
【问题描述】:

在使用 git bash 终端时遇到问题。我收到此错误:

 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/Eduk8ed/AdBarge.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

【问题讨论】:

标签: git github git-bash


【解决方案1】:

执行git pull --rebase origin master,然后尝试推送。

【讨论】:

    猜你喜欢
    • 2011-06-08
    • 1970-01-01
    • 2020-03-12
    • 1970-01-01
    • 2018-07-28
    • 1970-01-01
    • 2021-08-02
    • 1970-01-01
    • 2012-09-06
    相关资源
    最近更新 更多