Tag Archives: gitolite

Gitolite: Log all access? Not Possible

In short, Gitolite is not able to log a clone or fetch access. https://groups.google.com/forum/?hl=en&fromgroups=#!topic/gitolite/g7mO2VDQza0 There is a workaround that may work courtesy of Sandeep Kaira. His email to me after I posted on the gitolite newsgroup: I noticed that SSL … Continue reading

Posted in Git | Tagged , , , | Leave a comment

Gitolite: add new repository

I enable certain users to create repositories by adding this to gitolite.conf file: repo [a-zA-Z0-9].* C = @admin @staff RW+ = CREATOR RW = WRITERS @admin R = READERS @staff To create a new repo I had to do this: … Continue reading

Posted in Git | Tagged , , , , , | 3 Comments

Gitolite: add users and multipe keys per user

Figuring out why I was having trouble adding a user was pretty upsetting so I will share the experience and hope no one else runs into it also. Create the ssh key for user ssh-keygen -t rsa Do no try … Continue reading

Posted in Git | Tagged , , , , | 1 Comment

Gitolite v3 – add email hook

I added the email hook by changing files on the git server. gitolite@gitserver~$ cd .gitolite/hooks/common gitolite@gitserver:~/.gitolite/hooks/common$ cp /usr/share/doc/git/contrib/hooks/post-receive-email post-receive gitolite@gitserver:~/.gitolite/hooks/common$ $HOME/bin/gitolite setup –hooks-only gitolite@gitserver:~/.gitolite/hooks/common$ cd gitolite@gitserver:~$ vi .gitolite.rc #GIT_CONFIG_KEYS => ”, # ORIGINAL GIT_CONFIG_KEYS => ‘.*’, # EDIT TO THIS … Continue reading

Posted in Git | Tagged , , , | 1 Comment

Install a Git Server Gitolite v3

Looking into installing our own Git Server. Probably going with Gitolite. Did a test run on my dev Linux box got environment setup, but having some trouble adding users and initial repository. Company gave me a Windows server to working. … Continue reading

Posted in Git | Tagged , , , , | Leave a comment