Chapter 10. Understanding VREFs

We looked at VREFs briefly in Chapter 7, Advanced Access Control and Configuration, including a small example to illustrate how Gitolite can allow or reject pushes based on which files have been modified in commits being pushed. In this chapter, we will explore VREFs in much greater detail, since this is one of the most powerful features of Gitolite. We will start small, describing the simplest use for VREFs, then move on to more complex uses.

Migrating update hooks

Some sites may already have been using update hooks in their existing (pre-Gitolite) repository setups. Since Gitolite reserves the update hook for itself, this presents a bit of a problem in terms of switching over.

If your site has such update hooks, ...

Get Gitolite Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.