Remove git from project in Xcode 4

6 Solutions Collect From Internet About “Remove git from project in Xcode 4”

Just remove the .git directory in the project folder. You should close the project in Xcode first to be safe.

I had the same problem. Here are the steps to resolving this.

  1. Go to the Organizer (under window menu option)
  2. Go to Repositories
  3. Look at the bottom left corner for the minus button
  4. Select the project to be removed from GIT
  5. Press the minus icon
  6. It should be removed

This works, even though the class files still have the symbol next to them. Clicking them then clicking another file gets rid of the icon.

Hope this works.

If you want to disable Git support in Xcode 4 you’ll have to rename “/Developer/Library/Xcode/PrivatePlugIns/IDEGit.ideplugin” to something other than .ideplugin.

I had the same problem. I followed the steps from this blog post and all worked fine for me. I was using Xcode 4.2 on OS X 10.7.3.

I think the trick is making sure to delete the invisible “.git” folder in the project directory via the command line,… in addition to deleting the repositories via the Xcode GUI.

I’m now using SourceTree with Mercurial on BitBucket, and am a very happy camper! 🙂

You can easily do that using

rm -rf .git
rm -rf .gitignore

Open Terminal and Type

defaults write AppleShowAllFiles TRUE
killall Finder

simply open the project in finder delete the .git from root/