赞
踩
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/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。