Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up git for my programming team.

My setup is:

1. (Ubuntu server)
IP: (public: xxx.yyy.yyy.zzz)
main git repository in /var/www/testgit
user: mot (root)

2. host2, Ubuntu
git clone of main repo in ~/public_html/testgit1
user: nairda

3. host3, Ubuntu
git clone of main repo in ~/www/testgit2
user: mot

4. host4, Windows Vista, Samba, msysgit
git clone of main repo in c:\shared\testgit3
user: ataga

I start a new main repo:

cd /var/www/testgit1
git init

Now, a lot of questions:

Which groups and users do I have to create? How to set up required ssh keys?
(I'm playing with gitosis, but with no success by now.)

How to make the main repo visible to other hosts?

How to clone this repo on the hosts?

How to pull changes from others to main repo?

share|improve this question
up vote 1 down vote accepted

Well, I had to learn some new things to do this.

I used gitolite to set up git server. Everything is described in the gitolite docs. The most important thing was to set up password-less access via ssh.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.