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 information from Gitolite


Once your users have access to Gitolite, they would probably like to see which repositories they can access. The simplest way to do this is to run the info command, which is available to all remote users:

$ ssh git@server info 
hello adam, this is git@server running gitolite3 v3.5.3.1-7-g5f88a09 on git 1.8.3.1 
 R W  gitolite-admin 
 R W  t2 
 R W  testing

This tells you what your Gitolite username is (in this case, adam), which repos you have access to, and whether you are allowed to read and write, or only read but not write to the repo. Apart from that, this command also tells you which version of Gitolite and which version of Git is running on the server, which could be useful.