Book Image

Gitolite Essentials

By : Sitaram Chamarty
Book Image

Gitolite Essentials

By: Sitaram Chamarty

Overview of this book

Table of Contents (19 chapters)
Gitolite Essentials
About the Author
About the Reviewers

Chapter 11. Mirroring

While most installations are happy to install Gitolite on a single server accessible to all their developers, some of them have developers in several cities around the world, and it is often useful to provide local mirrors in each city for fast access. Gitolite's mirroring feature caters to these needs in a very flexible manner.

Mirroring can be as simple or as complex as you want it. You can have one server be the master server for all repositories, with one or more slave servers carrying copies of them. You can have different servers be the master servers for different repositories, and select only some of the remaining servers as slaves instead of all of them. You can even keep some repositories out of the mirroring process if you wish.