Types of non-core code and examples

Gitolite allows four types of customizations you can develop for your site. This might sound somewhat intimidating, but in practice most people use only two of them. We'll describe each of them now.

Commands

Gitolite allows remote users to run some specific commands on the server, in the form ssh git@host command-name. Commands need to be enabled before they can be used remotely; see the section on making changes to the rc file in Chapter 8, Allowing Users to Create Repos. One way to look at this is to view it as giving users a very restricted shell to use, which allows only specific commands to be executed.

We've already encountered some Gitolite commands, the perms and D commands in Chapter 8, Allowing Users ...

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.