知乎專欄 | 多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者” |
$ apt-cache search gitolite gitolite - SSH-based gatekeeper for git repositories
sudo apt-get install gitolite
No adminkey given - not setting up gitolite.
git@192.168.2.1:gitolite-admin.git
gitolite-admin/conf/gitolite.conf
@admin = neo @developer = bottle nada dick blank phabricator @designer = blank @deployer = phoenix @tester = jimmy
repo gitolite-admin RW+ = @admin R = @deployer repo mydomain.com/www.mydomain.com RW+ = @admin RW = @developer @designer R = @deployer repo mydomain.com/images.mydomain.com RW+ = @admin RW = @developer @designer R = @deployer repo mydomain.com/passport.mydomain.com RW+ = @admin RW = @developer R = @deployer @designer repo example.com/www.example.com RW+ = @all repo @all RW = @developer @designer R = @agentbot @deployment @test