我试图移动本地存储库来到位桶的工作,我在下面这个tutorial但是当我做更新被拒绝,因为远程包含您做
git push --all bitbucket
我得到了以下meessage错误:
To https://bitbucket.org/growtec/offshore.git
! [rejected] Leonardo -> Leonardo (fetch first)
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://[email protected]/growtec/offshore.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
我在主分支和我已经做了git pull
但输出是一切先进的日期。
我看到这个question,但它并没有为工作我
我建议*避免*'git的pull'完全,但因为你正在使用它:(1)做遥控器,你有('混帐remote'会列出他们)? (2)“master”分支名称的“上游”设置是什么? ('git rev-parse --symbolic-full-name master @ {upstream}'会显示它。)(3)你的'Leonardo'分支名称的'upstream'设置是什么? – torek