I like to use either git or svn for my Xcode projects, but need to be able to access them from outside e.g. from another machine somewhere.
So I need a repository somewhere, but I don't want to use any third party service like github.
What do I need to run any of the two on an external rented server (e.g. ruling out one of my machines using dyndns)? Would some web-space somewhere be sufficient? If not, what do I need?
You could do it using dropbox as supposed in this question: Git with Dropbox
A detailed guide is provided in this answer: Using Git and Dropbox together effectively?
The main advantage of dropbox is, that you don't need a box you can ssh into, instead you use dropbox as repo storage... And – not to forget – if you can deal with the basic account (up to 2 GB storage), it's free. Even the Pro package for 100 GB is quite affordable.
All you really need is a computer you can ssh into if you don't need to share the repo with anyone else. I use a VPS at Dreamhost for this.
If you really want a Git server, I would recommend using Gitosis which is open source git server software. You can checkout the github repo here. Also, gere are a whole bunch of tutorials to get you started:
http://wiki.dreamhost.com/Gitosis
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
http://www.markrichman.com/2008/06/16/installing-git-and-gitosis-on-ubuntu/
http://www.howtoforge.com/setting-up-gitosis-on-ubuntu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With