Xcode 11 Version Control Changes

October 19th, 2019

Filed under: Version Control, Xcode | Be the first to comment!

This post lists all the changes I found in Xcode 11 on version control. Code Review Button Xcode 11 adds a code review button to the toolbar that lets you view the changes you made to the currently selected file. The code review button is the button with the two arrows facing right and left. […]


Xcode Bug Creating Bitbucket Repositories

March 10th, 2019

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 10 has bug/limitation in creating Bitbucket repositories for your projects. If the name of the repository has uppercase letters, such as MyProject, an alert pops up when you create the repository with the helpful message An unknown error occurred. The workaround is to use all lowercase letters in the repository name, such as myproject.


Xcode 10: Create Global Git Ignore File

January 7th, 2019

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 10 lets you create a global .gitignore file so you don’t have to create a .gitignore file for each project you create. Go to Xcode’s Source Control Preferences and click the Git button in the preferences window. You most likely have an empty list of ignored files. Click the Add button to add files […]


Xcode 10: Subversion Support Removed

December 9th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 10 removes support for Subversion. If you want to continue to use Subversion with Xcode, stick with Xcode 9. Alternatively, you can switch to git or use another tool for Subversion.


Xcode 10: See Changed Code in Editor

September 27th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

If your Xcode project is under version control, Xcode’s editor highlights the changes you make to the code. When you add or change code, Xcode places a blue bar on the left edge of the editor. Clicking the blue bar opens a popover to discard the change. For some reason you can’t commit changes from […]


Xcode 10: Improved Bitbucket and GitLab support

September 20th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

Xcode 10 improves version control support for Bitbucket and GitLab. You can add your Bitbucket and GitLab accounts to Xcode from Xcode’s Accounts preferences. Click the Add button to add an account. A sheet opens. Choose Bitbucket Cloud to add your Bitbucket account. Choose GitLab.com to add your GitLab account. Starting in Xcode 10 you […]


Version Control Book Released

April 17th, 2018

Filed under: Version Control | Be the first to comment!

I released my latest book, Version Control for iOS and Mac Developers. It’s a free download. Go to the book’s website to download it.


Git Detached Head

March 27th, 2018

Filed under: Version Control | Be the first to comment!

I’ve recently seen multiple questions online from people having problems committing to git because the git repository had a detached head. This article answers the most common questions about detached heads. What Is a Detached Head? A detached head in a git repository occurs when the repository has no current branch. Why Is a Detached […]


Going Back to a Previous Git Commit in Xcode

March 12th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

Something that can happen to you when using version control is you commit a change to the version control repository, realize you made a mistake, and want to go back to an earlier commit. How do you do this in Xcode? Xcode provides no direct way to go back to an earlier commit. What you […]


Ignoring Files That Are Already in a Git Repository

March 5th, 2018

Filed under: Version Control, Xcode | Be the first to comment!

In a previous post, I showed how to tell git to ignore files in Xcode projects. But what do you do if you want to ignore a file that git is currently tracking? Remove the file from the git repository. Add the file you want to ignore to the git ignore file. If you don’t […]