在gitlab中创建项目后,我仍然无法推送它。我注意到没有项目创建在gitolite repositories文件夹中,它应该在那里。
如下所示,最后一次是我在cat /home/gitlab/gitlab/log/githost.log中创建项目的时候。
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发布于 2013-03-04 16:56:26
如Issue 1769中所述,查看您的gitolite V3的Gitolite配置:
我的
.gitolite.rc看起来像这样
%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,
'.*',将其更改为
%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。
https://stackoverflow.com/questions/15197601
复制相似问题