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
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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 to features of Gitolite we have not yet encountered, and will become clearer when that material is presented.