2

我承诺并推动。

然后其他人更改了我的分支中的某些内容,提交并推送。我试图拉动,因为我想得到这些改变。

结果:

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也不起作用。怎么拉?

4

1 回答 1

0

这将从分支 origin/Andrea 中提取。当您将分支更改为经常提取时非常有用。如果您经常从同一个分支中提取,您可能需要在设置中进行设置,如下所示

于 2014-11-11T16:11:25.630 回答