Before Xcode 9, setting up your project to work on GitHub involved a lot of work. You had to login to GitHub, create a repository, go back to your Mac, launch the Terminal application, navigate to your project directory, and run multiple git commands. Xcode 9 makes working with GitHub much easier. You can add […]

When you create a new Xcode project, Xcode gives you the option to create a git repository on your Mac. How do you create a git repository for a project after the project has been created? Choose Source Control > Create Git Repositories. A sheet opens. Click the Create button and Xcode will create a […]

Xcode 9 makes it easier to work with GitHub. Start by adding your GitHub account to Xcode. Go to Xcode’s Accounts preferences, click the Add button, and choose GitHub to add your GitHub account. Once you add your GitHub account to Xcode, you can go to any GitHub repository and clone the project in Xcode […]

Xcode moved the branching version control operations to the source control navigator, whose button is next to the project navigator. The source control navigator shows your local branches, tags, and remote branches. Selecting a branch shows the commit history for the branch. Double-clicking a commit shows the changes you made in that commit. Select a […]