Jump to content



Photo

git server on ubuntu


  • Please log in to reply
2 replies to this topic

#1 Original Poster

Original Poster

    C++ n00b

  • Tech Issues Solved: 1
  • Joined: 15-July 08
  • Location: my room
  • OS: windows 7, backtrack 5, OSx 10.6

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:

http://askubuntu.com...erver-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...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.countabl...ite-and-gitweb/



#3 +Majesticmerc

Majesticmerc

    Resident Idealist

  • Tech Issues Solved: 7
  • 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.





Click here to login or here to register to remove this ad, it's free!