首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >gitlab不在gitolite中创建项目

gitlab不在gitolite中创建项目
EN

Stack Overflow用户
提问于 2013-03-04 16:44:45
回答 1查看 616关注 0票数 1

在gitlab中创建项目后,我仍然无法推送它。我注意到没有项目创建在gitolite repositories文件夹中,它应该在那里。

如下所示,最后一次是我在cat /home/gitlab/gitlab/log/githost.log中创建项目的时候。

代码语言:javascript
复制
March 04, 2013 15:37 -ERROR -Gitolite error -  remote: FATAL:
git config 'core.sharedRepository' not allowed remote: check
GIT_CONFIG_KEYS in the rc file To git@42.62.26.7:gitolite-admin   
1c67fcf..25792ba  master -master

March 04, 2013 15:50 -ERROR -Gitolite error -  remote: FATAL:
git config 'core.sharedRepository' not allowed remote: check
GIT_CONFIG_KEYS in the rc file To git@42.62.26.7:gitolite-admin   
19952c7..f8ccebc  master -master

March 04, 2013 15:57 -ERROR -Gitolite error -  remote: FATAL:
git config 'core.sharedRepository' not allowed remote: check
GIT_CONFIG_KEYS in the rc file To git@42.62.26.7:gitolite-admin   
359de47..3683bc1  master -master

March 04, 2013 16:21 -ERROR -Gitolite error -  remote: FATAL:
git config 'core.sharedRepository' not allowed remote: check
GIT_CONFIG_KEYS in the rc file To git@42.62.26.7:gitolite-admin   
479836c..37a2aa9  master -master

March 04, 2013 16:23 -ERROR -Gitolite error -  remote: FATAL:
git config 'core.sharedRepository' not allowed remote: check
GIT_CONFIG_KEYS in the rc file To git@42.62.26.7:gitolite-admin   
37a2aa9..8771dee  master -master

March 04, 2013 16:32 -ERROR -Gitolite error -  remote: FATAL:
git config 'core.sharedRepository' not allowed remote: check
GIT_CONFIG_KEYS in the rc file To git@42.62.26.7:gitolite-admin   
8771dee..f354a61  master -master
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-03-04 16:56:26

Issue 1769中所述,查看您的gitolite V3的Gitolite配置:

我的.gitolite.rc看起来像这样

代码语言:javascript
复制
%RC = (
      # if you're using mirroring, you need a hostname.  This is *one* simple
      # word, not a full domain name.  See documentation if in doubt
      # HOSTNAME                  =>  'darkstar',
      UMASK                       =>  0007,
      '.*',

将其更改为

代码语言:javascript
复制
%RC = (
      # if you're using mirroring, you need a hostname.  This is *one* simple
      # word, not a full domain name.  See documentation if in doubt
      # HOSTNAME                  =>  'darkstar',
      UMASK                       =>  0007,
      GIT_CONFIG_KEYS     =>  '.*',

请注意,下一个GitLab版本(5.0)将不再使用Gitolite。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/15197601

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档