How would it be possible to integrate Xcode with GitHub?
Asked
Active
Viewed 1.6k times
4
-
Duplicate. Searching for 'xcode github' leads to the post below. – Chuck Vose Apr 27 '10 at 01:07
-
2Well, the OP said gitHub, not git. I don't know about now but back when this was posted you had to do all sort of voodoo to get Xcode to work with an external repo like gitHub (http://www.mindthe.net/devices/2011/04/28/12-steps-to-using-github-with-xcode-4/). – Julian Apr 26 '12 at 19:34
-
I agree with Julian, why is this marked duplicate? Xcode has an inbuilt git mechanism, but how that can be connected to github is a separate issue. – P i Feb 13 '15 at 13:16
3 Answers
3
A lot has happened in the world of Xcode & Git/GitHub since the original question and answers.
See this article re setting up a GitHub remote repository in Xcode.

Joshua Saayman
- 31
- 3
3
think I found the Xcode way to push a existing project to GitHub or any other remote repository!
Preconditions
I assume that you have a project created by Xcode 4 with a local git repository. You created an empty remote git repository (I call it RemoteRepository in in the following example)
Push it to remote
- Open the Organizer in Xcode an go to the Repositories tab
- At first click on Remotes and then on "Add Remote"
- Enter a Remote Name and the Location of your remote repository and click on create
- Then select your project and open File -> Source Control -> Push ...
- Select your remote repository and wait until it is connectable! Look for the Create in the brackets.
- Now your old project is published to GitHub

codercat
- 22,873
- 9
- 61
- 85
1
People I know use the git-osx-installer to get the tools. This includes a tool that lets you open the Git GUI from the current folder in the finder.
I am no aware of a plug-in for Xcode. Here are some guidelines for setting up your Git to work better with Xcode projects.

gcamp
- 14,622
- 4
- 54
- 85

Tom Cabanski
- 7,828
- 2
- 22
- 25