Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to deactivate the Xcode git feature? (remove git integration)

Tags:

git

xcode

My Xcode project is on git, but I don't like the XCode git integration and sometime, I have errors coming from Xcode

So I would like to completely remove that feature of XCode. I tried to remove the repository in Organizer->Repository (but after a while, it comes up again).

Any idea?

like image 760
Samuel Avatar asked May 21 '13 09:05

Samuel


People also ask

Can I use Git with Xcode?

Xcode will create your new project along with a new Git repository. All source control systems, including Git, store their data into a repository so that they can manage your project versions and keep track of changes throughout the development cycle. Think of a repository as a database for versions.

What is Xcode Git?

Xcode creates your project in the folder you specify, initializes a local Git source control repository for your project, and commits all the files that it creates for your project in an initial commit. For more information, see Creating an Xcode project for an app.

How do I see changes in Git Xcode?

To compare changes in one source file, open the file and click the Enable Code Review button in the upper-right corner of the Xcode window. The comparison view highlights changes between the current source code and the most recent commit.


1 Answers

It's unsupported, but it has appeared to work fine for me in the past:

  • Quit Xcode
  • Remove this bundle from its folder: Xcode.app/Contents/Plugins/IDEGit.ideplugin or change the bundle's extension.
  • Restart Xcode

This disables the extension which provides git support in Xcode. You can still use Git for version control -- just not in Xcode.

like image 169
justin Avatar answered Sep 23 '22 00:09

justin