2009-12-21 24 views
0

我我的本地机器上作出了新的分支“逆流”和编辑我的.git/config文件看起来像:的Git拉问题

[core] 
    repositoryformatversion = 0 
    filemode = true 
    bare = false 
    logallrefupdates = true 
[remote "origin"] 
    url = ssh://host/~/Repositories/CFFC.git 
    fetch = +refs/heads/*:refs/remotes/origin/* 
[branch "master"] 
    remote = origin 
    merge = refs/heads/master 
[branch "counterflow"] 
    remote = origin 
    merge = refs/heads/counterflow 

CFFC.git是一个纯仓库。现在我试图从另一台机器上拉出“逆流”分支。这台机器上的git的/ config文件看起来是这样的:

[core] 
    repositoryformatversion = 0 
    filemode = true 
    bare = false 
    logallrefupdates = true 
[remote "origin"] 
    url = ssh://host/~/Repositories/CFFC.git 
    fetch = +refs/heads/*:refs/remotes/origin/* 
[branch "master"] 
    remote = origin 
    merge = refs/heads/master 
[branch "counterflow"] 
     remote = origin 
     merge = refs/heads/counterflow 

我收到以下错误消息:

Warning: No merge candidate found because value of config option 
     "branch.counterflow.merge" does not match any remote branch fetched. 
No changes. 

怎么回事不对任何线索?

谢谢

回答

2

我想。我忘了在裸仓库中创建分支“逆流”。

+0

你应该接受你自己的答案! – 2009-12-21 21:14:02