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.

  • How do I create a new branch based on an existing Git hub branch? (Please read - tried the beginners guide)
  • github repos cloning, but no tags/branches recreated?
  • How to check if Git is installed from .bashrc
  • Using curly braces referencing git revisions/references fails
  • Git Woes: edited on windows, now w/ problems on linux
  • can i rebase old commits?
  • 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?

  • How to make git LFS not apply to a subdirectory
  • Precompiling assets failed ExecJS::ProgramError: Unexpected token: operator (=) (line: 10770 , col: 0, pos: 300859)
  • How do contents of git index evolve during a merge (and what's in the index after a failed merge)?
  • how to merge from a different fork in github
  • Why doesn't git diff work on the command line for me?
  • Downgrade git on Ubuntu 13.10
  • 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.