r e p o
g i t o l i t e −admin
RW+
=
admin
R
=
a l i c e
r e p o
p r o j e c t 1
RW+
=
a l i c e
RW
=
bob
R
=
d e n i s e
Using your server
Once a user’s public key has been imported by the gitolite admin and authorization granted to the user to
one or more repositories, the user can access repositories with the following command:
g i t c l o n e git@$SERVER_IP :$PROJECT_NAME. g i t
To add the server as a new remote for an existing git repository:
g i t remote add g i t o l i t e git@$SERVER_IP :$PROJECT_NAME. g i t
References
• Gitolite’s code repository provides access to source code.
• Gitolite’s documentation includes a “fool proof setup” guide and a cookbook with recipes for common
tasks.
• Gitolite’s maintainer has written a book,
Gitolite Essentials, for more in-depth information about the
software.
• General information about git itself can be found at the Git homepage.
Do'stlaringiz bilan baham: