Difference between revisions of "Gitolite"
From Fixme.ch
(→Goal) |
(→Usage) |
||
Line 17: | Line 17: | ||
* Access repository like this: | * Access repository like this: | ||
git clone ssh://gitolite@git.fixme.ch:1337/$example | git clone ssh://gitolite@git.fixme.ch:1337/$example | ||
− | * List repositories | + | * List repositories you can access |
ssh gitolite@foo.fixme.ch -p 1337 | ssh gitolite@foo.fixme.ch -p 1337 | ||
Revision as of 13:56, 28 November 2012
Contents
Goal
- Provides GIT repositories to the members.
- https://github.com/sitaramc/gitolite/wiki
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
- List repositories you can access
ssh gitolite@foo.fixme.ch -p 1337
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