处理有用的合并请求并从远程ref中提取

时间:2012-04-12 16:55:04

标签: git gitorious

我正在尝试使用gitorious的合并请求功能。我可以看到合并请求,但在标题将要合并的提交标题下我只是有一个错误:

An error has occured. Please try again later.

enter image description here

任何想法如何追踪下来?另外在如何处理合并请求的帮助部分中,它表示如下:

# Fetch the merge request into this branch
git pull \
  git://git.site.com/1-10-core/core.git \
  refs/merge-requests/1

我试过了,但我得到了错误

fatal: Couldn't find remote ref refs/merge-requests/1

以下是git config -l返回的部分内容:

core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
remote.origin.url=git@git.site.com:1-10-core/core.git
branch.master.remote=origin
branch.master.merge=refs/heads/master

这就是我.git/config

中的内容
 repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = git@git.site.com:1-10-core/core.git
[branch "master"]
        remote = origin
        merge = refs/heads/master

1 个答案:

答案 0 :(得分:0)

这很可能是由远程引用引用&refs / merge-requests / 1'不存在于原始存储库中。合并请求#1的Gitorious视图和你的git pull操作都指向它。