Branch level access control and refexes

This section will talk about a very important part of Gitolite—specifying who can make changes to which branch or tag. As a matter of historical interest, the lack of this feature, in what was at that time the most popular tool for Git server administration, was the sole motivation for Gitolite being created.

Tip

This section assumes some familiarity with regular expressions.

To understand branch level access control and how to specify them in Gitolite, we should first have a quick refresher of related concepts in Git itself, to make things easier to understand.

Git uses the word ref to refer to both branches and tags. Branch names are usually of the form refs/heads/something, while tag names are of the form ...

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.