meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
git:gitolite [2017/06/01 18:09] – created niziakgit:gitolite [2020/05/08 10:26] (current) niziak
Line 1: Line 1:
 +====== Gitolite ======
 +
 ====== Installation ====== ====== Installation ======
 <code bash>DEBIAN_PRIORITY=low apt-get install gitolite3</code> <code bash>DEBIAN_PRIORITY=low apt-get install gitolite3</code>
Line 5: Line 7:
   * Repository path: **/home/git/**   * Repository path: **/home/git/**
   * Administrator's SSH key: **ssh-rsa ...**   * Administrator's SSH key: **ssh-rsa ...**
 +
 +====== lost admin key/access ======
 +
 +Log on to the server, and run <code bash>gitolite setup -pk alice.pub</code>.
 +
 +That's it; the new alice.pub file replaces whatever existed in the repo before.
  
 ====== Usage ====== ====== Usage ======
Line 27: Line 35:
  git push  git push
 </code> </code>
 +
 +===== Push existing repos =====
 +
 +<code bash>
 +git remote add origin git@localhost:mynewrepo
 +git push origin master --set-upstream
 +</code>
 +
 +
 +
 +
 +