Home | Mirror | Search

第 11 章 gitolite - SSH-based gatekeeper for git repositories

目錄

1. gitolite-admin
1.1. gitolite.conf
1.1.1. staff
1.1.2. repo
$ apt-cache search gitolite
gitolite - SSH-based gatekeeper for git repositories
	
sudo apt-get install gitolite
	

No adminkey given - not setting up gitolite.

1. gitolite-admin

git@192.168.2.1:gitolite-admin.git
		

1.1. gitolite.conf

gitolite-admin/conf/gitolite.conf

1.1.1. staff

@admin 		= neo
@developer 	= bottle nada dick blank phabricator
@designer 	= blank
@deployer 	= phoenix
@tester 	= jimmy
				

1.1.2. repo

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
				
comments powered by Disqus