Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Xcode project with a local git repository. How do I set it up so that I can sync/merge my local repository with a remote repository that I have already created?

I've tried going to the Organizer and adding a remote repository, but I got a certificate error when trying to add GitHub.

share|improve this question
Is the remote repo empty, or does it have a different version of the code in it? What is the certificate error you're seeing? I think you want to be adding a remote but the cert error might be something to do with your SSH keys... – mildlydiverting Aug 25 '13 at 13:59
Please note: this isn't a question about software development, but about how to use a specific feature of Xcode. – CyberSkull Aug 25 '13 at 23:21
@CyberSkull - but Xcode is a development tool so on topic on StackOverflow – Mark Aug 26 '13 at 8:02

You need to connect your local git repository to the remote git repository. Unfortunately, Xcode (as of v4.6) doesn't provide a UI to do this. Since you are using Github for your remote repository, I would advise that you follow Github's instructions for adding a remote.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.