I am trying to setup a Git server could. Can anyone tell me how to set up a Git server, so that client machines can connect to that server and make use of Git version control for their projects... Please give me step by step instructions as I'm new to this thing.

link|improve this question
2  
I don't think this is an Ubuntu-related question (beyond the obvious "it's linux"), also have you even looked at the git documentation? There's mentions there of setting up a public as well as a private repository. – Ward Muylaert Feb 7 '11 at 11:06
Just search on google and here: help.ubuntu.com/community/Git – BonboBingo Feb 7 '11 at 13:08
7  
@BonboBingo Saying "Just search Google" really isn't a solution. The majority of questions here could be answered with "if you search long enough..." Ask Ubuntu aims to be the authority Question and Answer site providing 1st level answers instead of a wall of answers that say "Just Google" - for more information check the FAQ – Marco Ceppi Feb 7 '11 at 14:40
There is a useful step guide here: help.ubuntu.com/community/Git. @Marco Ceppi Sorry but I wasn't polemical. And then the link that I had posted seems to be quite relevant to question ... Okay now as an answer? – BonboBingo Feb 7 '11 at 15:10
@BonboBingo comments don't count as answers! I was merely commenting on the "Search Google" portion of your comment. If you wanted to answer with details about the Git article in the Ubuntu Help guide you should use the "Your Answer" box at the bottom of this page! :) – Marco Ceppi Feb 7 '11 at 15:18
show 2 more comments
feedback

4 Answers

I recommend a book (free ebook download)

Pro Git by Scott Chacon

Chapter 4 deals with setting up a Git server.

http://progit.org/book/ch4-1.html

link|improve this answer
1  
+1 Pro-Git is likely the best online resource. – Marco Ceppi Feb 7 '11 at 14:39
feedback

For all my Git server setups I use Gitolite which allows for a security granularity of "per-branch" access. Setup is pretty straight forward if you're doing it on a remote server it's as easy as running an interactive script. In addition to this "easy-to-setup" nature it also has a package in Natty and Maverick install gitolite

This won't provide a web frontend like Github, or Gitweb - but you can easily configure and install those on top of something like Gitolite.

link|improve this answer
feedback

Definitely follow the official documentation: https://help.ubuntu.com/community/Git (section Setting up Git and Project Management)

link|improve this answer
feedback

try Setting up a git server

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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