问题描述
我在上主持了一个私人回购协议。我也想使用,特别是。 AFAICT,没有任何简单的解决方案一起使用它们。
感谢以下任何帮助。
我想要的东西
- 克隆GitHub repo并添加到Gerrit's项目:
- ,或 中
- 使用Gerrit合并对GitHub的更改
h1>
克隆/添加...
手动:我正常克隆回购,然后加入 H2 如下:
INSERT INTO projects
(use_contributor_agreements,submit_type,name)
VALUES
('N','M' ,新/回购);
在 init :
*** Git存储库
***
Git存储库的位置[git]:[email protected]:YourName / Repo.git
我不认为这是正确。
发生了什么
克隆/添加.. 。
手动:
我得到这个错误: repository not found:无法打开仓库回购
在 init :
在〜//ritrit2/[email protected]创建目录:YourName / Repo.git 和子目录 Repo.git ,它本身包含一个空的 Git 回购。不是我想要的。 不要尝试自己,但可以使用gerrit repo和 到github
I host a private repo on GitHub. I also want to use Gerrit, particularly for the Hudson Gerrit Trigger plugin. AFAICT, there isn't any simple solution for using them together.
I'd appreciate any help on any of the following wants.
What I want
- Clone GitHub repo and add to Gerrit's projects either:
- Merge changes with GitHub using Gerrit
What I've tried
Cloning/Adding...
Manually: I clone the repo as normal, then add into H2 like so:
INSERT INTO projects (use_contributor_agreements,submit_type,name) VALUES ('N','M','new/Repo');
During init:
*** Git Repositories *** Location of Git repositories [git]: [email protected]:YourName/Repo.git
I don't think that's correct.
What happens
Cloning/Adding...
Manually:
I get this error: repository not found: Cannot open repository Repo
During init:
Creates the directory at ~/gerrit2/[email protected]:YourName/Repo.git and sub-directory Repo.git, which itself contains an empty Git repo. Not exactly what I wanted.
Not try myself, but you could use gerrit repo and mirror to github
这篇关于让GitHub和Gerrit好好玩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!