0

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

An error has occured. Please try again later.

在此处输入图像描述

任何想法如何追踪?同样在如何处理合并请求的帮助部分中,它说:

# 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
4

1 回答 1

0

这很可能是由源存储库中不存在的远程引用“refs/merge-requests/1”引起的。合并请求 #1 的 Gitorious 视图和您的 git pull 操作都指向这一点。

于 2013-01-28T15:12:46.580 回答