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.6 Configuring Gitosis

Now you need to clone Gitosis’s configuration repository. It contains all the configuration values you need to manage your new repositories. You must clone it from the computer where you generated the SSH public key. That’s the only one that Gitosis knows about right now.

If your server’s domain name was example.com, your clone command would look something like this:

 
​prompt> git clone git@example.com:gitosis-admin.git
 
​Initialized empty Git repository in /work/gitosis-admin/.git/​
 
​remote: Counting objects: 5, done.​
 
​remote: Compressing objects: 100% (4/4), done.​
 
​remote: Total 5 (delta 1), reused 5 (delta 1)​
 
​Receiving objects: 100% (5/5), done.​ ...
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