我承诺并推送。Git pull不知道要合并哪个分支
其他人然后改变了我的分支,承诺和推动。 我试图拉,因为我想获得这些变化。
结果:
From servername
3de3ee5..4db9ed8 Andrea -> origin/Andrea
You asked me to pull without telling me which branch you
want to merge with, and 'branch.Andrea.merge' in
your configuration file does not tell me, either. Please
specify which branch you want to use on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
的事情是我不明白这样的解释。 我的分店名称肯定是Andrea
,但是,git pull andrea
也不起作用。 我该怎么拉?
的git拉出身安德烈 – Eru 2013-03-17 15:52:18
我猜测,推,当你真的不设置推分公司是当地一个“上游”。试试'git branch -u origin/Andrea Andrea',然后再拉。这就是说这只是一个猜测,你应该看看你是否可以提供我们的步骤来重现你提到的错误。 – millimoose 2013-03-17 15:55:13
你看过http://stackoverflow.com/questions/7388278/you-asked-me-to-pull-without-telling-me-which-branch-you-want-to-merge-with?它看起来很相似。 – lmsteffan 2013-03-17 15:56:41