当我尝试推送到 Bitbucket 时,我不断收到以下错误。我以前工作得很好,它只是停止工作。
有人可以帮我理解这是什么意思以及如何解决它吗?
Pushing to https://x-token-auth@bitbucket.org/UserName/project-name.git
To https://bitbucket.org/UserName/project-name.git
= [up to date] Redesign -> Redesign
= [up to date] Version4.0 -> Version4.0
= [up to date] version2.0 -> version2.0
= [up to date] version3.0 -> version3.0
= [up to date] version3.2 -> version3.2
= [up to date] version4.1 -> version4.1
= [up to date] version5.0.3+cocoapods-firebase -> version5.0.3+cocoapods-firebase
= [up to date] version5.1 -> version5.1
= [up to date] version5.2 -> version5.2
= [up to date] version5.3 -> version5.3
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://x-token-auth@bitbucket.org/UserName/project-name.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 pull
按照错误中的建议使用。另外,我使用 git-tower 作为我的 git GUI。