This shows any local branches, tags, and also any remote repositories you have set up, along with remote branches. It’s the second icon from the left, and you can quickly access it using CMD + 2. Once your project is being tracked by Git, you will see your project in the Source Control pane on the left of Xcode. The easiest way is to check the “Create Git repository on my Mac” checkbox when first creating the project, but you can also use the git init command 1 to create one inside the root folder. You will need to make sure your project is inside a Git repository. We will first go through initialising a Git repository, finding the Source Control features in Xcode, and then either link it to an existing GitHub remote, or create one directly inside Xcode. The Xcode used for this guide was version 10.1. So I’ve decided to start fresh and show how you can quickly and easily use GitHub to track your Xcode project. Since then, Xcode has kept being updated with new Source Control features, and the guide started to break. It’s been just under a year since I published my article on how to connect an Xcode project to a GitHub repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |