Quantcast
Channel: 旁门左道 » git
Viewing all articles
Browse latest Browse all 8

gitolite

$
0
0
外出进场,临时需要搭建git服务器,但是又不能脱离统一的源码管理。 #make sure to under root sudo su cp ~/.ssh/id_rsa.pub /tmp/admin.pub useradd git passwd git ssh-copy-id -i /tmp/admin.pub git@localhost   yum install cpan yum install perl-Time-HiRes     #switch to git ssh git@localhost   rm .ssh/authorized_keys git clone git://github.com/sitaramc/gitolite mkdir -p $HOME/bin gitolite/install -to $HOME/bin gitolite setup -pk /tmp/admin.pub exit   #check ssh git@localhost   [...]

Viewing all articles
Browse latest Browse all 8

Trending Articles