Changes

Jump to: navigation, search

Gitolite

509 bytes added, 08:36, 7 May 2013
* https://github.com/sitaramc/gitolite/wiki
== How to Usage ==* Access a repository like this: git clone ssh://gitolite@git.fixme.ch:1337/$example* List repositories you can access ssh gitolite@foo.fixme.ch -p 1337 == Administration ==
* Ask The following people to access the gitolite admin :
RW = nemen
RW = prosouth
RW = artphi
 == Usage = Create a repo ===* Gitolite Get the 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* Edit conf/gitolite.conf, add your repo and permissions repo MySuperProject R = @all #pull RW = myuser #push RW+ = myuser #rewrite history* Access repository like this:Commit and push to foo git clone commit -am "Add XXX repo" git push origin master === Add user ===* Ask the user to create an ssh:/key and to give the public key ssh-keygen cat ~/gitolite@git.fixme.ch:1337ssh/$exampleid_rsa.pub* List repositories you can accessCreate a new file for the key in keydir echo 'ssh gitolite-rsa AAA[...]' > keydir/name@foomachine.fixmepub git add keydir/name@machine.ch pub git commit -p 1337am "new key for name" git push origin master
== Tip ==
ControlGroup, administrator
4,237
edits