10.9: Convert gitolite managed git repositories to Xcode Server

So you finally want to take the plunge and convert from gitolite managed repositories and Jenkins to doing everything with Mavericks’ Xcode Server? It turns out it’s actually not that hard.

Disclaimer: I just figured this process out, everything appears to work (pulling the repository, committing/pushing back to the repository after making changes. I think that everything should be working properly outside of my very basic tests, but they were very limited.
Converting gitolite repositories for Xcode server.
Find your repositories folder (for me i had a special ‘git’ user so the repositories folder was in /Users/git/repositories).

Create a tarred gzip file (as admin with following settings) to create carbon copies of the directories preserving ownership and permissions:
sudo tar cpz -P –exclude .DS_Store -f repositories.tgz /Users/git/repositories …

Source: Mac OSX Hints