Sign in to follow this  

git server on ubuntu

Recommended Posts

Original Poster    324

hello, was wondering if anyone could tell me or link me to how to set up a git server on ubuntu 12.04?

Share this post


Link to post
Share on other sites
snaphat (Myles Landwehr)    414

I haven't done this in ages but:

http://askubuntu.com/questions/134298/how-do-i-set-up-gitorious-server-on-ubuntu

 

You could also try setting up gerrit, but you really shouldn't do this unless you need code review. Also, gerrit is a pain compared to vanilla git:

http://www.mediawiki.org/wiki/Gerrit/Tutorial

 

Personally, I would just use SSH instead unless you really need a server with separate authentication:

http://www.mindfuzz.net/?p=250

 

EDIT:

 

I forgot the simplest solution for a central server with permissions is to install gitolite, that's what I ended up doing instead of using gitorious after trying both back in the day: http://blog.countableset.ch/2012/04/29/ubuntu-12-dot-04-installing-gitolite-and-gitweb/

Share this post


Link to post
Share on other sites
+Majesticmerc    871

I agree with Snaphat, if you don't need any fancy features, create a git repository on your Ubuntu machine and clone it wherever you want it over SSH. Job done.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.