Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Gitolite operates with <strong>bare</strong> repositories.<br> A bare repo has no working tree, meaning no files.</p> <p>That is why, by the way, your repo root directory ends with <code>.git</code>: it is a naming convention to reference bare repos.</p> <p>See "<a href="https://stackoverflow.com/q/2147741/6309">Git push only for bare repositories?</a>" for more.</p> <p>Your repos are managed by default on:</p> <pre><code>~git/repositories/myrepo1.git ~git/repositories/myrepo2.git </code></pre> <p>Generally, you don't need to look to the content of a repo while being on the server: you simply clone it on a client and look it there. (the clone won't be a bare repo by default)</p> <p>You could clone it on the server, if you have a proper <code>~git/.ssh/id_rsa(.pub)</code> key declared as a user in the <code>gitolite.conf</code> file.<br> <a href="https://github.com/VonC/compileEverything/blob/master/gitolite/install_or_update_gitolite.sh#L65-L67" rel="nofollow noreferrer">It is what I do, as a test</a>, after installing/updating gitolite on my server.<br> That works because of my local <a href="https://github.com/VonC/compileEverything/blob/master/.ssh/config.tpl#L1-L5" rel="nofollow noreferrer">ssh config file</a>:</p> <pre><code>Host gitolitesrv Hostname localhost User @USERNAME@ Port @PORT_SSHD@ IdentityFile @H@/.ssh/gitoliteadm </code></pre> <p>So I have a <code>~git/.ssh/gitolite(.pub)</code> private and public key dedicated to gitolite admin, which I can use locally on the server to clone gitolite repo if I want.<br> That is because I use that <a href="https://github.com/VonC/compileEverything/blob/master/gitolite/install_or_update_gitolite.sh#L37" rel="nofollow noreferrer">same key to setup gitolite</a>:</p> <pre><code> GITOLITE_HTTP_HOME= gitolite setup -pk "${H}/.ssh/gitoliteadm.pub" </code></pre> <p>If you have a similar setup, you can then clone any repo on the server:</p> <pre><code>git clone gitolitesrv:gitolite-admin "${gtl}/ga" </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload