我在本地机器上创建了一个新的分支“branch”,并编辑了我的.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/counterflowCFFC.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.有什么问题的线索吗?
谢谢
发布于 2009-12-22 04:07:49
我猜到了。我忘了在裸存储库中创建分支“反向流”。
https://stackoverflow.com/questions/1942192
复制相似问题