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
About the Author
About the Reviewers

Gitolite commands

The info command is not the only command available to your users, of course; there are a few more. As you may have guessed from the preceding part, the general format for running Gitolite commands is simply ssh git@server command-name command-arguments, where the arguments are of course optional.

Conveniently, Gitolite also has a command to list all the available commands:

$ ssh git@server help 
hello adam, this is gitolite3 v3.5.3.1-7-g5f88a09 on git 

list of remote commands available: 


As you can see, this gives the remote user the list of commands that they are allowed to run. (Some of these commands can only be explained in later chapters).

Further, if you run this from the Gitolite hosting user command line, as gitolite help, you will get a listing of all the available commands, and not just the ones that are enabled for remote access.