Create a remote from a local source code repository

Create a remote source code repository when you want to access your project from another Mac, back up your project on a server, or share your project with others.

  1. In the Source Control navigator (), Control-click the repository, then choose Create [Project] Remote on GitHub” from the pop-up menu.

  2. If necessary, choose the GitHub account or Add a GitHub Account from the Account pop-up menu.

    Note: If you add a GitHub account to Account preferences, you won’t need to enter this information again.

  3. Optionally, enter a repository name that is different than the project name.

  4. Enter a description of the repository in the text field.

  5. To allow public read access to the repository, select Public; otherwise, select Private.

    Later, you can share the remote repository with collaborators so they can commit changes.

  6. Click Create.

    Xcode commits and pushes the changes to the server.

See alsoCommit changes to a source code repositoryClone a project from a remote source code repositoryAdd an existing remote to your local repository