Using svn/git with Xcode

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.

  • git: programmatically test if index is dirty
  • See diff between current state and last commit
  • subprocesses from apache returning exit code -6 with not stdout or stderr
  • Nested version control scheme?
  • Git global tags— evidently bad, but why?
  • Is there a simple way to “git describe” a remote repository?
  • 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?

  • git: how to merge a file manually when git does not notice conflicts
  • How to get a list of directories deleted in my git repository?
  • How can I rebase all my local Git branches (and tags) when upstream has rewritten history?
  • TypeError when trying to “repo init” on Python 3.3
  • MS Windows 10: Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
  • Handshake failure with “SSL error code -1/1/336032856” on OS X 10.7
  • 2 Solutions collect form web for “Using svn/git with Xcode”

    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

    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.

    Git Baby is a git and github fan, let's start git clone.