Difference between revisions of "Gitolite"

From Fixme.ch
Jump to: navigation, search
(Add tip)
Line 21: Line 21:
 
   Host git.fixme.ch
 
   Host git.fixme.ch
 
       Port 1337
 
       Port 1337
 +
 +
== See also ==
 +
* [[Git_talk]]

Revision as of 09:23, 27 September 2012

Goal

  • Provides GIT repositories to the members.

How to

Usage

  • Gitolite admin: edit and push to this repository
 git clone ssh://gitolite@git.fixme.ch:1337/gitolite-admin

Keep the file as clean as you left it.

  • Access repository like this:
 git clone ssh://gitolite@git.fixme.ch:1337/$example

Tip

If you don't want to specify the port every time you use ssh/git, you can add the host to your ~/.ssh/config:

 Host git.fixme.ch
     Port 1337

See also