removing local git repositary from Xcode Project?

nameless picture nameless · Apr 30, 2012 · Viewed 16.5k times · Source

I had selected local git repositary when I created xcode Project. But when import to SVN and commit, it commits locally not in SVN. How can I resolve this problem? I want to remove all hidden local git files from the Xcode project without affecting source code? any help please?

Answer

NaXir picture NaXir · Jan 16, 2013

Open Terminal and Type

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

open the project in finder delete the .git

Good to go. Enjoy