Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 help.github.com/articles/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

1 Answer 1

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

 
discard

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.