首页 > 其他 > 详细

gitolite服务器搭建

时间:2014-03-14 07:07:24      阅读:661      评论:0      收藏:0      [点我收藏+]
Steps to install:

      * login as ‘git‘ as described above

      * make sure ~/.ssh/authorized_keys is empty or non-existent

      * make sure your ssh public key from your workstation is available at
        $HOME/YourName.pub

      * run the following commands:

            git clone git://github.com/sitaramc/gitolite
            mkdir -p $HOME/bin
            gitolite/install -to $HOME/bin
            gitolite setup -pk YourName.pub

        If the last command doesn‘t run perhaps ‘bin‘ in not in your ‘PATH‘.
        You can either add it, or just run:

            $HOME/bin/gitolite setup -pk YourName.pub

如果你碰到类似这样:
FATAL: R any gitolite-admin admin DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.
或是那样的问题时,你把git目录下的.gitolite目录给删除掉,让后再按上面的操作执行一遍。
git@ubuntu:~$ cd .
./         ../        .gitolite/ .ssh/      .vim/ 

gitolite服务器搭建,布布扣,bubuko.com

gitolite服务器搭建

原文:http://blog.csdn.net/fulinus/article/details/21184213

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!