How to integrate Xcode with GitHub?

How can I integrate Xcode with GitHub?

+4
source share
4 answers

In the world of Xcode and Git / GitHub, a lot has happened with the original question and answer.

See this article by installing the remote GitHub repository in Xcode.

+3
source

I think I found Xcode's way of pushing an existing project to GitHub or any other remote repository!

Prerequisites

I assume that you have a project created by Xcode 4 with a local git repository. You created an empty git remote repository (I call it RemoteRepository in the following example)

Click on remote

  • Open Organizer in Xcode and go to the Repositories tab.
  • First click Remote Controls and then Add Remote

enter image description here

  1. Enter the remote name and location of the remote repository and click create

enter image description here

  1. Then select your project and open "File" โ†’ "Source Control" โ†’ "Push ..."

enter image description here

  1. Select a remote repository and wait for it to connect! Look for Create in brackets.

enter image description here

  1. Now your old project is published on GitHub

enter image description here

+3
source

People I know use git-osx-installer to get tools. This includes a tool that allows you to open the Git GUI from the current folder in the search appliance.

I am not aware of the plugin for Xcode. Below are some guidelines for setting up Git to work better with Xcode projects.

+1
source

Source: https://habr.com/ru/post/1308094/


All Articles