Jump to content


git server on ubuntu

  • Please log in to reply
2 replies to this topic

#1 Original Poster

Original Poster

    Systems Developer

  • Tech Issues Solved: 1
  • Joined: 15-July 08
  • Location: my room
  • OS: windows 7/8, Kali, ubuntu, OSx 10.9
  • Phone: Android

Posted 14 January 2014 - 16:01

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

#2 snaphat (Myles Landwehr)

snaphat (Myles Landwehr)

    Electrical & Computer Engineer

  • Tech Issues Solved: 29
  • Joined: 23-August 05
  • OS: Win/Lin/Bsd/Osx
  • Phone: dumb phone

Posted 14 January 2014 - 16:08

I haven't done this in ages but:



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:



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





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.countabl...ite-and-gitweb/

#3 +Majesticmerc


    Resident Idealist

  • Tech Issues Solved: 9
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 14 January 2014 - 16:52

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.