Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using svn/git with Xcode

Tags:

git

xcode

svn

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?

like image 844
Helge Becker Avatar asked Jul 13 '11 12:07

Helge Becker


2 Answers

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.

like image 117
eckes Avatar answered Oct 17 '22 12:10

eckes


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

like image 21
Swift Avatar answered Oct 17 '22 13:10

Swift