Skip to Main Content
Pragmatic Version Control Using Git
book

Pragmatic Version Control Using Git

by Travis Swicegood
December 2008
Intermediate to advanced content levelIntermediate to advanced
184 pages
4h 47m
English
Pragmatic Bookshelf
Content preview from Pragmatic Version Control Using Git

11.7 Adding New Repositories

The initial configuration that Gitosis creates has one configuration repository, but you can manage as many repositories as you like. If you want to, you can add new writable lines to the gitosis-admin group, but that means everyone with access to your repositories has access to change Gitosis’ configuration. A more secure solution is to create two groups: one for administrators and another for normal developers.

Here’s a sample configuration:

 
​[gitosis]​
 
​​
 
​[group gitosis-admin]​
 
​writable = gitosis-admin​
 
​members = travis​
 
​​
 
​[group team]​
 
​writable = mysite​
 
​members = travis susannah​

Recognize the first ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Git: Mastering Version Control

Git: Mastering Version Control

Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski
Pragmatic Guide to Git

Pragmatic Guide to Git

Travis Swicegood
Git Version Control Cookbook - Second Edition

Git Version Control Cookbook - Second Edition

Kenneth Geisshirt, Emanuele Zattin(EUR), Aske Olsson, Rasmus Voss

Publisher Resources

ISBN: 9781680500189Errata Page