Getting help for commands

Getting help for a command is easy. Every Gitolite command responds with a help message when called with -h as the only argument. For example, the help message for the info command is given as follows:

$ ssh git@server info -h 

Usage:  gitolite info [-lc] [-ld] [<repo name pattern>] 

List all existing repos you can access, as well as repo name patterns you can 
create repos from (if any). 

    '-lc'       lists creators as an additional field at the end. 
    '-ld'       lists description as an additional field at the end. 

The optional pattern is an unanchored regex that will limit the repos 
searched, in both cases.  It might speed up things a little if you have more 
than a few thousand repos. 

As before, some of these options pertain ...

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.