Preventing Xcode from auto-versioning files
14:06 27 Feb 2015

This is a general Xcode question but here goes.

When a nib is opened, Xcode auto-versions it, causing it to appear as a changed file in Git/SourceTree. This occurs regardless of whether any real changes have occurred in the nib. The behavior occurs in other file types as well, like image asset catalogs.

When working in a large app with many nibs or large asset catalogs, opening/closing without changes can result in a large list of changed files and increase the chances of unintentionally staging and committing, etc.

Does anyone know of a way to prevent Xcode from auto-versioning?

xcode git