推送时出错

时间:2011-07-22 15:50:07

标签: git ssh gitolite

  

可能重复:
  gitolite push error -> remote: ENV GL_RC not set

我正在设置gitolite,我用gitolite-admin.git克隆了gitolite@gitserver:/home/gitolite/repositories/gitolite-admin.git

更新了配置文件和keydir,当我尝试推送时我遇到错误,请帮助

Counting objects: 7, done.  
Delta compression using up to 4 threads.  
Compressing objects: 100% (3/3), done.  
Writing objects: 100% (4/4), 402 bytes, done.  
Total 4 (delta 0), reused 0 (delta 0)  
remote: ENV GL_RC not set  
remote: BEGIN failed--compilation aborted at hooks/update line 20.  
remote: error: hook declined to update refs/heads/master  
To gitolite@gitserver:/home/gitolite/repositories/gitolite-admin.git  
 ! [remote rejected] master -> master (hook declined)  
error: failed to push some refs to'gitolite@gitserver:/home/gitolite/repositories/gitolite-admin.git' 

我的.gitolite.rc如下所示

   # $GL_ALL_READ_ALL = 0;
   $GIT_PATH="";
   $GL_GITCONFIG_KEYS = "";
   # $GL_GITCONFIG_WILD = 0;
   $GL_NO_CREATE_REPOS = 0;
   $GL_NO_SETUP_AUTHKEYS = 0;
   # $GL_WILDREPOS_DEFPERMS = 'R @all';
   $HTPASSWD_FILE = "";
   $RSYNC_BASE = "";
   $SVNSERVE = "";`

0 个答案:

没有答案